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 |
|
- (void)setImageWithImage:(nonnull UIImage *)image |
|
- (void)setViewWithView:(nonnull MRTViewProvider *)view; |
|
- (void)setViewWithView:(nonnull MRTViewProvider *)view |
|
- (void)setViewWithView:(nonnull MRTViewProvider *)view |
Properties
|
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
Instance methods
setImageWithImage:
|
- (void)setImageWithImage:(nonnull UIImage *)image; |
Sets the image with the default style for the icon.
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. |
setViewWithView:
|
- (void)setViewWithView:(nonnull MRTViewProvider *)view; |
Sets the view with the given style for the icon.
setViewWithView:style:
|
- (void)setViewWithView:(nonnull MRTViewProvider *)view |
Sets the view with the default style for the icon.
setViewWithView:style:callback:
|
- (void)setViewWithView:(nonnull MRTViewProvider *)view |
Sets the view 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.