Warning
This feature is available in the Full MapKit SDK version
MMKRoadEventsLayer
@interface MMKRoadEventsLayer : NSObject |
Undocumented
Summary
Instance methods
- (void)addListenerWithLayerListener: |
- (void)removeListenerWithLayerListener: |
- (void)selectRoadEventWithEventId:(nonnull NSString *)eventId; |
- (void)deselectRoadEvent; |
- (void)setRoadEventVisibleOnRouteWithTag:(MMKRoadEventsEventTag)tag |
Properties
@property (nonatomic, readonly, getter=isValid) BOOL valid; |
Instance methods
addListenerWithLayerListener:
- (void)addListenerWithLayerListener: |
The class does not retain the object in the 'layerListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
removeListenerWithLayerListener:
- (void)removeListenerWithLayerListener: |
Undocumented
selectRoadEventWithEventId:
- (void)selectRoadEventWithEventId:(nonnull NSString *)eventId; |
Selects a road event with specified id. Only one event can be selected at a time. If some other event is selected already, it will be deselected.
deselectRoadEvent
- (void)deselectRoadEvent; |
Deselects selected road event if any.
setRoadEventVisibleOnRouteWithTag:on:
- (void)setRoadEventVisibleOnRouteWithTag:(MMKRoadEventsEventTag)tag |
Sets road events on route tag visibility. Setting local chats visibility will also set visibility for ordinary chats and vice versa. None are visible by default.
Properties
valid
@property (nonatomic, readonly, getter=isValid) BOOL valid; |
Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.