HorizonPosition
class HorizonPosition(val pathId: Int, val offset: Distance, val isOnRoad: Boolean, val location: GeoLocation)
The best map-matched position on the horizon. It can be either on-road or off-road. If off-road, it can be either:
the likeliest on-road position on the horizon, but flagged as off-road, if the likeliest position is off-road, but there are also on-road candidates. The user can extract horizon elements to facilitate the decision to join the road.
or an off-road position with an invalid path id and an unmatched raw location, if the likeliest position is off-road and there are no on-road candidates on the horizon.
Important: This is a Public Preview API. It may be changed or removed at any time.