Warning

This feature is available in the Full MapKit SDK version

MMKDrivingTrafficLight

@interface MMKDrivingTrafficLight : NSObject

A traffic light object.

Summary

Class methods

+ (nonnull MMKDrivingTrafficLight *)trafficLightWithPosition:(nonnull MMKPolylinePosition *)position;

Properties

@property (nonatomic, readonly, nonnull) MMKPolylinePosition *position;
The position of the traffic light

Class methods

trafficLightWithPosition:

+ (nonnull MMKDrivingTrafficLight *)trafficLightWithPosition:(nonnull MMKPolylinePosition *)position;


Properties

position

@property (nonatomic, readonly, nonnull) MMKPolylinePosition *position;

The position of the traffic light.