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, |
Properties
var id: String { get } |
var position: MMKPoint { get } |
var tags: [NSNumber] { get } |
var caption: String { get } |
var isInFuture: Bool { get } |
Class methods
roadEventsLayerRoadEvent(withId:position:tags:caption:isInFuture:)
class func roadEventsLayerRoadEvent(withId id: String, |
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.