MatchedLocation
data class MatchedLocation( val location: GeoLocation, val id: Int, @IntRange(from = 0, to = 100) val probability: Int, val isOnRoad: Boolean, val direction: Double, val mapPosition: MapPosition? = null)
Content copied to clipboard
Represents location matched to the map.
Parameters
location
The map matched location.
id
Identifier of this matched position candidate.
probability
Matching probability, in range 0-100, 100 is best.
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
Line segment direction in degrees clockwise from North.
mapPosition
The best matched position.
Constructors
Link copied to clipboard
fun MatchedLocation( location: GeoLocation, id: Int, @IntRange(from = 0, to = 100) probability: Int, isOnRoad: Boolean, direction: Double, mapPosition: MapPosition? = null)
Content copied to clipboard