Warning

This feature is available in the Full MapKit SDK version

YMKRoadEventsLayerStyleProvider

@protocol YMKRoadEventsLayerStyleProvider <NSObject>

Undocumented

Summary

Instance methods

- (BOOL)
    provideStyleWithRoadEventStylingProperties:
        (nonnull YMKRoadEventsLayerRoadEventStylingProperties *)
            roadEventStylingProperties
                                   isNightMode:(BOOL)isNightMode
                                   scaleFactor:(float)scaleFactor
                                         style:
                                             (nonnull
                                                  YMKRoadEventsLayerRoadEventStyle
                                                      *)style;

Provide style for given road event

- (nullable YMKRoadEventsLayerHighlightCircleStyle *)
    provideHighlightCircleStyleWithIsNightMode:(BOOL)isNightMode
                                 highlightMode:(YMKRoadEventsLayerHighlightMode)
                                                   highlightMode;

Undocumented

Instance methods

provideStyleWithRoadEventStylingProperties:isNightMode:scaleFactor:style:

- (BOOL)
    provideStyleWithRoadEventStylingProperties:
        (nonnull YMKRoadEventsLayerRoadEventStylingProperties *)
            roadEventStylingProperties
                                   isNightMode:(BOOL)isNightMode
                                   scaleFactor:(float)scaleFactor
                                         style:
                                             (nonnull
                                                  YMKRoadEventsLayerRoadEventStyle
                                                      *)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 YMKRoadEventsLayerHighlightCircleStyle *)
    provideHighlightCircleStyleWithIsNightMode:(BOOL)isNightMode
                                 highlightMode:(YMKRoadEventsLayerHighlightMode)
                                                   highlightMode;

Undocumented