setRoadEventsStyleProvider static method

void setRoadEventsStyleProvider(
  1. RoadEventsLayerStyleProvider styleProvider
)

Set mapkit_road_events_layer_style_provider.RoadEventsLayerStyleProvider

The class maintains a strong reference to the object in the 'styleProvider' parameter until it (the class) is invalidated.

Implementation

static void setRoadEventsStyleProvider(
    mapkit_road_events_layer_style_provider.RoadEventsLayerStyleProvider
        styleProvider) {
  _setRoadEventsStyleProvider(
    styleProvider,
  );
}