MMKPlacemarkView
class MMKPlacemarkView : MMKPlacemarkPresentation |
Provides an interface to set view and its style for a placemark.
Summary
Instance methods
func setViewWithImage(_ image: MRTViewProvider, style: MMKIconStyle) |
func setViewWithImage(_ image: MRTViewProvider, |
Properties
var style: MMKIconStyle { get set } |
Instance methods
setViewWithImage(_:style:)
func setViewWithImage(_ image: MRTViewProvider, style: MMKIconStyle) |
Sets the view with the given style for the placemark.
setViewWithImage(_:style:callback:)
func setViewWithImage(_ image: MRTViewProvider, |
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
var style: MMKIconStyle { get set } |
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.