Tunnel

class Tunnel : RoadObject

Road object type that provides information about tunnels on the route.

See also

Parameters

info

tunnel information

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

id
Link copied to clipboard
val id: String
id of the road object.
info
Link copied to clipboard
val info: TunnelInfo
tunnel information
length
Link copied to clipboard
val length: Double?
length of the object, null if the object is point-like.
location
Link copied to clipboard
val location: RoadObjectLocation
location of the road object.
objectType
Link copied to clipboard
val objectType: Int
constant describing the object type, see RoadObjectType.
provider
Link copied to clipboard
val provider: String
provider of the road object