NavigationMapMatchingObserver
public protocol NavigationMapMatchingObserver : Observer
Important
This is a Public Preview API. It may be changed or removed at any time. An observer to receive navigation map matching events.-
Reports that a location has been matched to the road network.
Declaration
Swift
func didMapMatchLocation(location: GeoLocation)
Parameters
location
The location on the road network that matches the navigation location.
-
Reports that location predictions have been generated.
Declaration
Swift
func didGenerateNextPrediction(predictions: [GeoLocation])
Parameters
predictions
The location predictions on the road network that match the navigation location.