PositionUpdateObserver
public protocol PositionUpdateObserver : AnyObject
Provides the context for current and future positions.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Sets current position.
Declaration
Swift
func setPosition(_ position: CLLocationCoordinate2D)
Parameters
position
New value for current position.
-
Sets the active route.
Declaration
Swift
func setActiveRoute(_ polyline: [CLLocationCoordinate2D])
Parameters
polyline
The polyline representing the active route.