Road
data class Road(val functionalRoadClass: Int, val isTunnel: Boolean, val isUnderpass: Boolean, val roadType: TypeOfRoad? = null, val isLeftHandDriving: Boolean? = null)
Provides detailed information about the road.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
functionalRoadClass
The functional road class. Regular values are in range 0, 7, where lower numbers indicate more important, faster roads.
isTunnel
Indicates if location is in tunnel.
isUnderpass
Indicates if location is in underpass.
roadType
The type of the current road.
isLeftHandDriving
Indicates the driving side on the given road.