Road

constructor(functionalRoadClass: Int, isTunnel: Boolean, isUnderpass: Boolean, roadType: TypeOfRoad? = null, isLeftHandDriving: Boolean? = null)

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.