Protocols
The following protocols are available globally.
-
LocationProviderObservable
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol LocationProviderObservable : Observer
-
LocationProvider protocol used for providing a CLLocation for
TomTomMap
.For
MapView
, TomTom provides an implementation based onCLLocationManager
. The default implementation can be replaced using:mapView.map.locationProvider = engine
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol LocationProvider : AnyObject
-
Defines the policy for validating incoming location updates
See moreDeclaration
Swift
public protocol LocationUpdateValidator
-
LocationValidator defines interface for checking if the location valid or not.
See moreDeclaration
Swift
public protocol LocationValidator