Warning

This feature is available in the Full MapKit SDK version

MMKRoadEventsLayerStyleProvider

@protocol MMKRoadEventsLayerStyleProvider <NSObject>

Undocumented

Summary

Instance methods

- (BOOL)
    provideStyleWithRoadEventStylingProperties:
        (nonnull MMKRoadEventsLayerRoadEventStylingProperties *)
            roadEventStylingProperties
                                   isNightMode:(BOOL)isNightMode
                                   scaleFactor:(float)scaleFactor
                                         style:
                                             (nonnull
                                                  MMKRoadEventsLayerRoadEventStyle
                                                      *)style;

Provide style for given road event

- (nullable MMKRoadEventsLayerHighlightCircleStyle *)
    provideHighlightCircleStyleWithIsNightMode:(BOOL)isNightMode
                                 highlightMode:(MMKRoadEventsLayerHighlightMode)
                                                   highlightMode;

Undocumented

Instance methods

provideStyleWithRoadEventStylingProperties:isNightMode:scaleFactor:style:

- (BOOL)
    provideStyleWithRoadEventStylingProperties:
        (nonnull MMKRoadEventsLayerRoadEventStylingProperties *)
            roadEventStylingProperties
                                   isNightMode:(BOOL)isNightMode
                                   scaleFactor:(float)scaleFactor
                                         style:
                                             (nonnull
                                                  MMKRoadEventsLayerRoadEventStyle
                                                      *)style;

Provide style for given road event. Must produce same style for same input arguments.

Parameters

scaleFactor

Scale factor of a map window displaying this road event. Road event icon image scale factor must match this value.

Returns

false if road event must not be displayed at all.


provideHighlightCircleStyleWithIsNightMode:highlightMode:

- (nullable MMKRoadEventsLayerHighlightCircleStyle *)
    provideHighlightCircleStyleWithIsNightMode:(BOOL)isNightMode
                                 highlightMode:(MMKRoadEventsLayerHighlightMode)
                                                   highlightMode;

Undocumented