createNavigationLayer static method
Adds navigation layer on the map.
The class maintains a strong reference to the object in the 'styleProvider' parameter until it (the class) is invalidated.
Implementation
static NavigationLayer createNavigationLayer(
mapkit_map_map_window.MapWindow mapWindow,
mapkit_road_events_layer_road_events_layer.RoadEventsLayer
roadEventsLayer,
navigation_automotive_layer_styling_style_provider.NavigationStyleProvider
styleProvider,
navigation_automotive_navigation.Navigation navigation) {
return _createNavigationLayer(
mapWindow,
roadEventsLayer,
styleProvider,
navigation,
);
}