Warning
This feature is available in the Full MapKit SDK version
MMKRoadEventsLayerRoadEventStyle
@interface MMKRoadEventsLayerRoadEventStyle : NSObject |
Undocumented
Summary
Instance methods
- (void)setIconImage:(nonnull UIImage *)image; |
Properties
@property (nonatomic, assign, unsafe_unretained, readwrite) NSInteger zoomMin; |
@property (nonatomic, assign, unsafe_unretained, readwrite) CGPoint iconAnchor; |
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
@property (nonatomic, assign, unsafe_unretained, readwrite, nullable) |
@property (nonatomic, assign, unsafe_unretained, readwrite) |
@property (nonatomic, readonly, getter=isValid) BOOL valid; |
Instance methods
setIconImage:
- (void)setIconImage:(nonnull UIImage *)image; |
Road event icon image.
Properties
zoomMin
@property (nonatomic, assign, unsafe_unretained, readwrite) NSInteger zoomMin; |
Road event is visible only if current camera zoom is greater or equal than this value.
iconAnchor
@property (nonatomic, assign, unsafe_unretained, readwrite) CGPoint iconAnchor; |
Icon anchor, (0, 0) is top left and (1.0, 1.0) is bottom right.
zoomScaleFunction
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
Piecewise linear scale function. See Placemark's scale function.
captionStyle
@property (nonatomic, assign, unsafe_unretained, readwrite, nullable) |
Style of caption displayed under the road event icon.
Optional property, can be nil.
pulsationCenter
@property (nonatomic, assign, unsafe_unretained, readwrite) |
Pulsation center on road event pin image (see HighlightMode). (0, 0) is top left and (1.0, 1.0) is bottom right.
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.