createRouteRoadEventsLayerWithPresetStyleProvider static method

RoadEventsLayer createRouteRoadEventsLayerWithPresetStyleProvider(
  1. MapWindow mapWindow
)

Creates the mapkit_road_events_layer_road_events_layer.RoadEventsLayer that will draw road events on the route using the StyleProvider set by FlutterRoadEventsLayerFactory.setRoadEventsStyleProvider

mapWindow Map window to attach road events layer

Implementation

static mapkit_road_events_layer_road_events_layer.RoadEventsLayer
    createRouteRoadEventsLayerWithPresetStyleProvider(
        mapkit_map_map_window.MapWindow mapWindow) {
  return _createRouteRoadEventsLayerWithPresetStyleProvider(
    mapWindow,
  );
}