MMKIcon
@interface MMKIcon : MMKPlacemarkPresentation |
Provides an interface to set icon and its style for a placemark.
Summary
Instance methods
- (void)setImageWithImage:(nonnull UIImage *)image |
- (void)setImageWithImage:(nonnull UIImage *)image |
Properties
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
Instance methods
setImageWithImage:style:
- (void)setImageWithImage:(nonnull UIImage *)image |
Sets the image with the given style for the icon.
setImageWithImage:style:callback:
- (void)setImageWithImage:(nonnull UIImage *)image |
Sets the image with the given style for the icon. The callback will be called immediately after the icon finished loading.
Parameters |
|
onFinished |
Called when the icon is loaded. |
Properties
style
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
The style properties (scale, zIndex, etc.) of the icon placemark. Note: The current style cannot be modified directly - you must reset it to apply changes.