MatchedLocation

data class MatchedLocation(val location: <Error class: unknown class>, val id: Int, val probability: <Error class: unknown class>, val isOnRoad: Boolean, val direction: <Error class: unknown class>, val mapPosition: <Error class: unknown class>? = null)

Represents location matched to the map.

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

Parameters

location

The map matched location.

id

Identifier of this matched position candidate.

probability

Matching probability.

isOnRoad

True if input is most likely matched to best match, false if off-road. If false (off-road), mapPosition is still valid and contains possible best matching roads in the vicinity of the input position.

direction

The direction of the line segment in degrees clockwise from North.

mapPosition

The best matched position.

Constructors

Link copied to clipboard
constructor(location: <Error class: unknown class>, id: Int, probability: <Error class: unknown class>, isOnRoad: Boolean, direction: <Error class: unknown class>, mapPosition: <Error class: unknown class>? = null)

Properties

Link copied to clipboard
val direction: <Error class: unknown class>
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
val location: <Error class: unknown class>
Link copied to clipboard
val mapPosition: <Error class: unknown class>? = null
Link copied to clipboard
val probability: <Error class: unknown class>