MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKRoadEventsLayerStyleProvider

protocol MMKRoadEventsLayerStyleProvider : NSObjectProtocol

Undocumented

Summary

Instance methods

func provideStyle(with roadEventStylingProperties: MMKRoadEventsLayerRoadEventStylingProperties,
                                      isNightMode: Bool,
                                      scaleFactor: Float,
                                            style: MMKRoadEventsLayerRoadEventStyle) -> Bool
Provide style for given road event

func provideHighlightCircleStyle(withIsNightMode isNightMode: Bool,
                                               highlightMode: MMKRoadEventsLayerHighlightMode) -> MMKRoadEventsLayerHighlightCircleStyle?
Undocumented

Instance methods

provideStyle(with:isNightMode:scaleFactor:style:)

func provideStyle(with roadEventStylingProperties: MMKRoadEventsLayerRoadEventStylingProperties,
                                      isNightMode: Bool,
                                      scaleFactor: Float,
                                            style: MMKRoadEventsLayerRoadEventStyle) -> Bool

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.


provideHighlightCircleStyle(withIsNightMode:highlightMode:)

func provideHighlightCircleStyle(withIsNightMode isNightMode: Bool,
                                               highlightMode: MMKRoadEventsLayerHighlightMode) -> MMKRoadEventsLayerHighlightCircleStyle?

Undocumented