SafetyLocationVisualization
public protocol SafetyLocationVisualization : AnyObject
Addresses visualization of safety locations such as configuration, user interaction, etc.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Hides specified types of safety locations. By default, every type of safety location type is visible.
Declaration
Swift
var hiddenTypes: Set<SafetyLocation.SafetyLocationType> { get set }
-
Specifies the display limit for safety locations at the start of the route.
This option determines how many safety locations are made visible from the beginning of the route. It can be set to display all locations
all
, or a specified number of locationsSafetyLocationCountOptions/numberOfLocations
.Declaration
Swift
var countOption: SafetyLocationCountOptions { get set }
-
Adds an observer that responds to safety location tap user interactions.
Declaration
Swift
func addMarkerTapInteractionObserver(observer: SafetyLocationTapInteractionObserver)
-
Removes the observer that responds to safety location tap user interactions.
Declaration
Swift
func removeMarkerTapInteractionObserver(observer: SafetyLocationTapInteractionObserver)