Warning
This feature is available in the Full MapKit SDK version
MMKDrivingEvent
class MMKDrivingEvent : NSObject |
Road event.
Summary
Class methods
init(polylinePosition: MMKPolylinePosition, |
Properties
var polylinePosition: MMKPolylinePosition { get } |
var eventId: String { get } |
var descriptionText: String? { get } |
var tags: [NSNumber] { get } |
var location: MMKPoint { get } |
var speedLimit: NSNumber? { get } |
Class methods
init(polylinePosition:eventId:descriptionText:tags:location:speedLimit:)
init(polylinePosition: MMKPolylinePosition, |
Properties
polylinePosition
var polylinePosition: MMKPolylinePosition { get } |
The position of the polyline.
eventId
var eventId: String { get } |
The unique ID of the event.
descriptionText
var descriptionText: String? { get } |
The description of the event.
Optional field, can be nil.
tags
var tags: [NSNumber] { get } |
The types of the road event.
location
var location: MMKPoint { get } |
The location of the road event.
speedLimit
var speedLimit: NSNumber? { get } |
The speed limit on the road. Valid only for cameras.
Optional field, can be nil.