MatchedLocation

public struct MatchedLocation

Represents location matched to the map.

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • the locaitons id to track which path location refers to.

    Declaration

    Swift

    public let positionId: Int
  • The map matched location.

    Declaration

    Swift

    public let location: GeoLocation
  • Position with map information.

    Declaration

    Swift

    public let mapPosition: MapPosition?
  • Matching probability, in range 0-100, 100 is best, 0 is invalid and should be default value

    Declaration

    Swift

    public let probability: Int
  • If current location is on a road.

    Declaration

    Swift

    public let isOnRoad: Bool
  • The current direction angle

    Declaration

    Swift

    public let direction: Measurement<UnitAngle>