SpeedLimitSection

data class SpeedLimitSection(val geometry: List<GeoPoint>, val routeOffset: Distance, val length: Distance, val speedLimitInKmh: Int) : Section

Represents a route section with a speed limit.

See also

Parameters

speedLimitInKmh

Maximum legal speed limit in kilometers per hour.

Constructors

Link copied to clipboard
fun SpeedLimitSection(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance, speedLimitInKmh: Int)

Properties

Link copied to clipboard
open override val geometry: List<GeoPoint>

List of coordinates representing section.

Link copied to clipboard
open override val length: Distance

Distance from the the first point of geometry to the last point.

Link copied to clipboard
open override val routeOffset: Distance

Distance from the start of the route to the first point of geometry.

Link copied to clipboard