Warning

This feature is available in the Full MapKit SDK version

MMKRoadEventsLayerRoadEvent

class MMKRoadEventsLayerRoadEvent : NSObject

Undocumented

Summary

Class methods

class func roadEventsLayerRoadEvent(withId id: String,
                                     position: MMKPoint,
                                         tags: [NSNumber],
                                      caption: String,
                                   isInFuture: Bool) -> MMKRoadEventsLayerRoadEvent

Properties

var id: String { get }
The road event unique id

var positionMMKPoint { get }
Position of the road event on the globe

var tags: [NSNumber] { get }
Set of road event tags

var caption: String { get }
Text caption displayed under the road event icon

var isInFuture: Bool { get }
Some road events can be not active yet, but still must be displayed to notify users about future events, for example drawbridges or closures

Class methods

roadEventsLayerRoadEvent(withId:position:tags:caption:isInFuture:)

class func roadEventsLayerRoadEvent(withId id: String,
                                     position: MMKPoint,
                                         tags: [NSNumber],
                                      caption: String,
                                   isInFuture: Bool) -> MMKRoadEventsLayerRoadEvent


Properties

id

var id: String { get }

The road event unique id.


position

var position: MMKPoint { get }

Position of the road event on the globe.


tags

var tags: [NSNumber] { get }

Set of road event tags.


caption

var caption: String { get }

Text caption displayed under the road event icon.


isInFuture

var isInFuture: Bool { get }

Some road events can be not active yet, but still must be displayed to notify users about future events, for example drawbridges or closures. Usually such events have a greyscale icon and/or clock drawn in the icon's corner.