LocationActions
public protocol LocationActions
Type to control location features.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Activates location engine.
This method ensures that the map begins receiving location updates from the set location provider. It should be called every time a new
LocationProvider
is set to ensure the map’s location data is up to date.Declaration
Swift
func activateLocationProvider()
-
Deactivates location provider.
Declaration
Swift
func deactivateLocationProvider()
-
The current location provider. After the instance of Map is initialized the location provider is equal to
DefaultCLLocationProvider
.Declaration
Swift
var locationProvider: LocationProvider { get set }
-
Overrides
DefaultLocationValidator
location validator.Declaration
Swift
var locationValidator: LocationValidator { get set }
-
Types of the location marker visualization.
Declaration
Swift
var locationIndicatorType: LocationIndicator { get set }