provideStyle method
bool
provideStyle(
- RoadEventsLayerRoadEventStylingProperties roadEventStylingProperties,
- bool isNightMode,
- double scaleFactor,
- RoadEventsLayerRoadEventStyle style,
override
Provide style for given road event. Must produce same style for same input arguments.
scaleFactor
Scale factor of a map window displaying this road
event. Road event icon image scale factor must match this value.
Return false
if road event must not be displayed at all.
Implementation
@override
bool provideStyle(
RoadEventsLayerRoadEventStylingProperties roadEventStylingProperties,
bool isNightMode,
double scaleFactor,
RoadEventsLayerRoadEventStyle style) =>
_defaultStyleProvider.provideStyle(roadEventStylingProperties, style,
isNightMode: isNightMode, scaleFactor: scaleFactor);