MatchedLocationListener

public protocol MatchedLocationListener : AnyObject

This protocol should be implemented to receive notifications about the current location from MapMatchedLocation.

Note: This is a beta release of this feature. There may be bugs and unexpected behaviors. Related APIs may change in future releases without a deprecation process.

  • Called whenever the current map-matched location has been updated.

    Declaration

    Swift

    func onMatchedLocationUpdated(_ matchedLocation: MatchedLocation)

    Parameters

    matchedLocation

    The current matched location update.