Sections

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
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(), tollSections: List<TollSection> = emptyList(), tollVignetteSections: List<TollVignetteSection> = emptyList(), tunnelSections: List<TunnelSection> = emptyList(), unpavedSections: List<UnpavedSection> = emptyList(), urbanSections: List<UrbanSection> = emptyList())

Parameters

laneSections

Lane sections for route.

trafficSections

Traffic sections for the route. These must be the pre-merge (raw) sections: they are merged here to build connectedTrafficSections. Passing already-merged sections degrades connectedTrafficSections to singleton groups, losing the raw associations. To reconstruct from an existing Sections instance use copy or shiftedBy instead.

vehicleRestrictedSections

Sections which are restricted for the given vehicle, but could not be avoided.

speedLimitSections

Speed limit sections for the route.

carpoolSections

Carpool sections for the route.

carTrainSections

Car train sections for the route.

countrySections

Country sections for the route.

ferrySections

Ferry sections for the route.

lowEmissionZoneSections

Low-emission zone sections for the route.

motorwaySections

Motorway sections for the route.

pedestrianSections

Pedestrian only sections for the route.

roadShieldSections

Road shield sections for the route.

tollSections

Toll sections for the route.

tollVignetteSections

Toll vignette sections for the route.

tunnelSections

Tunnel sections for the route.

unpavedSections

Unpaved sections for the route.

urbanSections

Urban sections for the route.