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