MMKPlacemarkStyle
class MMKPlacemarkStyle : NSObject |
Undocumented
Summary
Instance methods
func setArrowModel() |
func setImageWith(_ image: UIImage) |
func setAnimatedImageWithIconImage( iconImage: MRTAnimatedImageProvider_) |
func setIconAnchorWithIconAnchor(_ iconAnchor: CGPoint) |
func setScaleFunctionWithPoints(_ points: [NSValue]) |
func setMinZoomVisibleWithMinZoom(_ minZoom: NSNumber?) |
Properties
var isValid: Bool { get } |
Instance methods
setArrowModel()
func setArrowModel() |
Set the placemark to be an 3D arrow. Usable only for user position placemark.
setImageWith(_:)
func setImageWith(_ image: UIImage) |
Undocumented
setAnimatedImageWithIconImage(_:)
func setAnimatedImageWithIconImage( iconImage: MRTAnimatedImageProvider_) |
Undocumented
setIconAnchorWithIconAnchor(_:)
func setIconAnchorWithIconAnchor(_ iconAnchor: CGPoint) |
Icon anchor, (0, 0) is top left and (1.0, 1.0) is bottom right.
setScaleFunctionWithPoints(_:)
func setScaleFunctionWithPoints(_ points: [NSValue]) |
Piecewise linear scale function. See Placemark's scale function.
setMinZoomVisibleWithMinZoom(_:)
func setMinZoomVisibleWithMinZoom(_ minZoom: NSNumber?) |
Minimal zoom for placemark to be visible.
Properties
isValid
var isValid: Bool { get } |
Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.