provideStyle abstract method

bool provideStyle(
  1. RoadEventsLayerRoadEventStylingProperties roadEventStylingProperties,
  2. bool isNightMode,
  3. double scaleFactor,
  4. RoadEventsLayerRoadEventStyle style,
)

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

core.bool provideStyle(
  RoadEventsLayerRoadEventStylingProperties roadEventStylingProperties,
  core.bool isNightMode,
  core.double scaleFactor,
  RoadEventsLayerRoadEventStyle style,
);