Важно

This feature is available in the Full MapKit SDK version

YMKDrivingEvent

class YMKDrivingEvent : NSObject

Road event.

Summary

Class methods

 init(polylinePosition: YMKPolylinePosition,
               eventId: String,
       descriptionText: String?,
                  tags: [NSNumber],
              location: YMKPoint,
            speedLimit: NSNumber?)

Properties

var polylinePositionYMKPolylinePosition { get }
The position of the polyline

var eventId: String { get }
The unique ID of the event

var descriptionText: String? { get }
The description of the event

var tags: [NSNumber] { get }
The types of the road event

var locationYMKPoint { get }
The location of the road event

var speedLimit: NSNumber? { get }
The speed limit on the road

Class methods

init(polylinePosition:eventId:descriptionText:tags:location:speedLimit:)

 init(polylinePosition: YMKPolylinePosition,
               eventId: String,
       descriptionText: String?,
                  tags: [NSNumber],
              location: YMKPoint,
            speedLimit: NSNumber?)


Properties

polylinePosition

var polylinePosition: YMKPolylinePosition { 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: YMKPoint { get }

The location of the road event.


speedLimit

var speedLimit: NSNumber? { get }

The speed limit on the road.

Optional field, can be nil.


Предыдущая
Следующая