SafetyLocationVisualizationState
The safety location (e.g., safety cameras) visualization state.
Important: To visualize safety locations the SafetyLocationsConfiguration should be set during the configuration of TomTomNavigation. SafetyLocationsConfiguration must be created with an API key for the Safety Locations API.
Types
Properties
Link copied to clipboard
Hides the given set of safety location types. The rest of safety location types that are not in the set will be shown. Can be an empty set to show all types of safety locations.
Link copied to clipboard
The number of safety locations that will be made visible from the beginning of the route. By default any numbers of safety locations will be visible.
Functions
Link copied to clipboard
fun copy(configure: SafetyLocationVisualizationState.Mutable.() -> Unit = {}): SafetyLocationVisualizationState
Copies the SafetyLocationVisualizationState and applies the changes by configure to the copied instance.