SafetyLocationVisualization
interface SafetyLocationVisualization
Represents vehicle horizon-specific API used to manage horizon capabilities, e.g., safety cameras.
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.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
Adds a SafetyLocationClickListener which will inform when a safety location is clicked.
Link copied to clipboard
Hides the safety locations.
Link copied to clipboard
Removes previous registered SafetyLocationClickListener.
Link copied to clipboard
Set the number of safety locations that will be made visible from the beginning of the route. By default all numbers of safety locations will be visible.