Sections

data class Sections(val laneSections: List<LaneSection> = emptyList(), val trafficSections: List<TrafficSection> = emptyList(), val vehicleRestrictedSections: List<VehicleRestrictedSection> = emptyList(), val speedLimitSections: List<SpeedLimitSection> = emptyList(), val carpoolSections: List<CarpoolSection> = emptyList(), val carTrainSections: List<CarTrainSection> = emptyList(), val countrySections: List<CountrySection> = emptyList(), val ferrySections: List<FerrySection> = emptyList(), val lowEmissionZoneSections: List<LowEmissionZoneSection> = emptyList(), val motorwaySections: List<MotorwaySection> = emptyList(), val pedestrianSections: List<PedestrianSection> = emptyList(), val roadShieldSections: List<RoadShieldSection> = emptyList(), val tollRoadSections: List<TollRoadSection> = emptyList(), val tollVignetteSections: List<TollVignetteSection> = emptyList(), val tunnelSections: List<TunnelSection> = emptyList(), val unpavedSections: List<UnpavedSection> = emptyList(), val urbanSections: List<UrbanSection> = emptyList())

The collection of all sections of a route.

Parameters

laneSections

Information about lane directions for route.

trafficSections

Information about traffic for the route.

vehicleRestrictedSections

Information about sections which are restricted for the given vehicle, but could not be avoided.

speedLimitSections

Information about speed limit sections for the route.

carpoolSections

Information about carpool sections for the route.

carTrainSections

Information about car train sections for the route.

countrySections

Information about country sections for the route.

ferrySections

Information about ferry sections for the route.

lowEmissionZoneSections

Information about low-emission zone sections for the route.

motorwaySections

Information about motorway sections for the route.

pedestrianSections

Information about pedestrian only sections for the route.

roadShieldSections

Information about road shield sections for the route.

tollRoadSections

Information about toll road sections for the route.

tollVignetteSections

Information about toll vignette sections for the route.

tunnelSections

Information about tunnel sections for the route.

unpavedSections

Information about unpaved sections for the route.

urbanSections

Information about urban sections for the route.

Constructors

Link copied to clipboard
constructor(laneSections: List<LaneSection> = emptyList(), trafficSections: List<TrafficSection> = emptyList(), vehicleRestrictedSections: List<VehicleRestrictedSection> = emptyList(), speedLimitSections: List<SpeedLimitSection> = emptyList(), carpoolSections: List<CarpoolSection> = emptyList(), carTrainSections: List<CarTrainSection> = emptyList(), countrySections: List<CountrySection> = emptyList(), ferrySections: List<FerrySection> = emptyList(), lowEmissionZoneSections: List<LowEmissionZoneSection> = emptyList(), motorwaySections: List<MotorwaySection> = emptyList(), pedestrianSections: List<PedestrianSection> = emptyList(), roadShieldSections: List<RoadShieldSection> = emptyList(), tollRoadSections: List<TollRoadSection> = emptyList(), tollVignetteSections: List<TollVignetteSection> = emptyList(), tunnelSections: List<TunnelSection> = emptyList(), unpavedSections: List<UnpavedSection> = emptyList(), urbanSections: List<UrbanSection> = emptyList())

Properties