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.-
The locations identifier 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>
MatchedLocation Structure Reference