SpeedLimits

data class SpeedLimits(val id: Int, val pathId: Int, val startOffset: Distance, val endOffset: Distance, val speed: Speed?, val speedFog: Speed?, val speedSnow: Speed?, val speedRain: Speed?, val type: SpeedLimits.Type) : HorizonElement

Describes speed limits on the horizon element.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

id

Identifier of this element.

pathId

Identifier of the path this element belongs to.

startOffset

Start offset on the path.

endOffset

End offset on the path.

speed

Value of speed limit or null if unknown.

speedFog

Value of speed limit valid during fog or null if unknown.

speedSnow

Value of speed limit valid during snow or null if unknown.

speedRain

Value of speed limit valid during rain or null if unknown.

type

Type of speed limit.

Constructors

Link copied to clipboard
fun SpeedLimits(id: Int, pathId: Int, startOffset: Distance, endOffset: Distance, speed: Speed?, speedFog: Speed?, speedSnow: Speed?, speedRain: Speed?, type: SpeedLimits.Type)

Types

Link copied to clipboard
value class Type

Speed limit types.

Properties

Link copied to clipboard
open override val endOffset: Distance
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val pathId: Int
Link copied to clipboard
val speed: Speed?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val startOffset: Distance
Link copied to clipboard