LocationActions
public protocol LocationActions : AnyObject
Type to control location features.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Activates location engine.
Declaration
Swift
func activateLocationEngine() -
Deactivates location engine.
Declaration
Swift
func deactivateLocationEngine() -
The current location engine. After the instance of Map is initialized the location engine is equal to
DefaultCLLocationEngine.Declaration
Swift
var locationEngine: LocationEngine { get } -
Sets custom location engine.
Declaration
Swift
func setCustomLocationEngine(_ engine: LocationEngine)Parameters
engineObject of type LocationEngine.
-
Overrides
DefaultLocationValidatorlocation validator.Declaration
Swift
func setLocationValidator(_ validator: LocationValidator)Parameters
validatorObject of type LocationValidator.
-
Types of the location marker visualization.
Declaration
Swift
var locationIndicatorType: LocationIndicator { get set } -
Types of accuracy indicator rendered around the current location marker.
Declaration
Swift
var accuracyIndicatorType: AccuracyIndicator { get set }
LocationActions Protocol Reference