NavigationVisualizationStyleConfig
The style configuration of NavigationVisualization composable.
Code-based styling via this class is no longer applied. To customize the appearance of navigation visualization, pass a MapLibre style file to rememberMapViewState:
val mapViewState = rememberMapViewState(
initialStyle = StyleDescriptor(uri = "asset://custom-navigation-style.json")
)See StandardStyles for the built-in style options.
An instance of this class can be constructed with the NavigationVisualizationStyleConfig fake constructor function.
Types
Mutable variant of NavigationVisualizationStyleConfig.
Properties
Deprecated. Code-based styling is no longer applied. Use the MapLibre style file passed to rememberMapViewState(initialStyle = ...) instead. See StandardStyles.
Deprecated. Code-based styling is no longer applied. Use the MapLibre style file passed to rememberMapViewState(initialStyle = ...) instead. See StandardStyles.
Deprecated. Code-based styling is no longer applied. Use the MapLibre style file passed to rememberMapViewState(initialStyle = ...) instead. See StandardStyles.
Deprecated. Code-based styling is no longer applied. Use the MapLibre style file passed to rememberMapViewState(initialStyle = ...) instead. See StandardStyles.
Functions
Copies the NavigationVisualizationStyleConfig and applies the changes by configure to the copied instance.