createNavigationLayerWithPresetStyleProvider static method

NavigationLayer createNavigationLayerWithPresetStyleProvider(
  1. MapWindow mapWindow,
  2. RoadEventsLayer roadEventsLayer,
  3. Navigation navigation
)

Adds navigation layer on the map using the StyleProvider set by FlutterNavigationLayerFactory.setStyleProvider.

Implementation

static navigation_automotive_layer_navigation_layer.NavigationLayer
    createNavigationLayerWithPresetStyleProvider(
        mapkit_map_map_window.MapWindow mapWindow,
        mapkit_road_events_layer_road_events_layer.RoadEventsLayer
            roadEventsLayer,
        navigation_automotive_navigation.Navigation navigation) {
  return _createNavigationLayerWithPresetStyleProvider(
    mapWindow,
    roadEventsLayer,
    navigation,
  );
}