Warning

This feature is available in the Full MapKit SDK version

MMKDrivingLane

@interface MMKDrivingLane : NSObject

The lane object.

Summary

Class methods

+ (nonnull MMKDrivingLane *)laneWithLaneKind:( MMKDrivingLaneKind)laneKind
                                  directions:(nonnull NSArray<NSNumber *> *)directions
                        highlightedDirection:(nullable NSNumber *)highlightedDirection;

Properties

@property (nonatomic, readonly) MMKDrivingLaneKind laneKind;
The type of lane

@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *directions;
Lane direction

@property (nonatomic, readonly, nullable) NSNumber *highlightedDirection;
Highlighted lane direction

Class methods

laneWithLaneKind:directions:highlightedDirection:

+ (nonnull MMKDrivingLane *)laneWithLaneKind:( MMKDrivingLaneKind)laneKind
                                  directions:(nonnull NSArray<NSNumber *> *)directions
                        highlightedDirection:(nullable NSNumber *)highlightedDirection;


Properties

laneKind

@property (nonatomic, readonly) MMKDrivingLaneKind laneKind;

The type of lane.


directions

@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *directions;

Lane direction.


highlightedDirection

@property (nonatomic, readonly, nullable) NSNumber *highlightedDirection;

Highlighted lane direction.

Optional field, can be nil.