MMKPlacemarkText

class MMKPlacemarkText : NSObject

Provides an interface to set text and its style for a placemark.

Summary

Properties

var text: String { get set }
UTF-8 encoded text to be displayed with the PlacemarkMapObject Empty string means no text

var style: MMKTextStyle { get set }
The style properties (size, color, etc

var isValid: Bool { get }
Tells if this object is valid or no

Properties

text

var text: String { get set }

UTF-8 encoded text to be displayed with the PlacemarkMapObject Empty string means no text


style

var style: MMKTextStyle { get set }

The style properties (size, color, etc.) of the placemark text. Note: The current style cannot be modified directly - you must reset it to apply changes.


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.