Warning
This feature is available in the Full MapKit SDK version
YMKDrivingEvent
@interface YMKDrivingEvent : NSObject |
Road event.
Summary
Class methods
+ (nonnull YMKDrivingEvent *)eventWithPolylinePosition:(nonnull YMKPolylinePosition *)polylinePosition |
Properties
@property (nonatomic, readonly, nonnull) YMKPolylinePosition *polylinePosition; |
@property (nonatomic, readonly, nonnull) NSString *eventId; |
@property (nonatomic, readonly, nullable) NSString *descriptionText; |
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *tags; |
@property (nonatomic, readonly, nonnull) YMKPoint *location; |
@property (nonatomic, readonly, nullable) NSNumber *speedLimit; |
Class methods
eventWithPolylinePosition:eventId:descriptionText:tags:location:speedLimit:
+ (nonnull YMKDrivingEvent *)eventWithPolylinePosition:(nonnull YMKPolylinePosition *)polylinePosition |
Properties
polylinePosition
@property (nonatomic, readonly, nonnull) YMKPolylinePosition *polylinePosition; |
The position of the polyline.
eventId
@property (nonatomic, readonly, nonnull) NSString *eventId; |
The unique ID of the event.
descriptionText
@property (nonatomic, readonly, nullable) NSString *descriptionText; |
The description of the event.
Optional field, can be nil.
tags
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *tags; |
The types of the road event.
location
@property (nonatomic, readonly, nonnull) YMKPoint *location; |
The location of the road event.
speedLimit
@property (nonatomic, readonly, nullable) NSNumber *speedLimit; |
The speed limit on the road.
Optional field, can be nil.