Section class abstract

A section is a part of the route between two stopovers.

A stopover is a location on the route where a stop is made.

Note: A section contains a list of SectionNotice objects that describe potential issues after the route was calculated. If the list is non-empty, it is recommended to evaluate possible violations against the requested route options and reject the route if deemed necessary.

Constructors

Section()

Properties

arrivalLocationTime LocationTime?
The arrival location time of this section. Gets the arrival location time of this section.
no setter
arrivalPlace RoutePlace
The arrival place. Describes the arrival place. Gets the arrival place.
no setter
boundingBox GeoBox
The closest rectangular area where this section fits in. Gets the closest rectangular area where this section fits in.
no setter
consumptionInKilowattHours → double?
Estimated net energy consumption (in kWh) if the transportation mode used for this route is an electric vehicle. Note that it can be negative due to energy recuperation. Gets estimated net energy consumption (in kWh) if the transportation mode used for this route is an electric vehicle. Note that it can be negative due to energy recuperation.
no setter
departureLocationTime LocationTime?
The departure location time of this section. Gets the departure location time of this section.
no setter
departurePlace RoutePlace
Describes the departure place. Gets the departure place.
no setter
duration → Duration
The estimated time in seconds needed to travel along this section, including real-time traffic delays if available. Gets the estimated time in seconds needed to travel along this section, including real-time traffic delays if available.
no setter
geometry GeoPolyline
The GeoPolyline object representing the polyline of this section. Gets the GeoPolyline object representing the polyline of this section.
no setter
hashCode → int
The hash code for this object.
no setterinherited
lengthInMeters → int
The length of this section in meters. Gets the length of this section in meters.
no setter
maneuvers → List<Maneuver>
The maneuvers for this section. Gets the maneuvers for this section.
no setter
noThroughRestrictions → List<ViolatedRestriction>
The list of no through restriction The no through restriction area is part of the road network that do not allow through traffic. For example the Resident only sign indicates that vehicles are only allowed to enter this area if they are making a stop. This area will be set only if origin, destination or via waypoint will be requested within the area. list of no through restriction.
no setter
passthroughWaypoints → List<PassThroughWaypoint>
The list of passthrough waypoints in this section. Gets the list of passthrough waypoints in this section.
no setter
postActions → List<PostAction>
The post actions that must be done after the arrival at the end of the section. Gets the post actions that must be done after the arrival at the end of the section.
no setter
preActions → List<PreAction>
The preceding actions that must be done prior to departure at the beginning of the section. Gets the preceding actions that must be done prior to departure at the beginning of the section.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionNotices → List<SectionNotice>
The notices which explain the issues encountered during processing of this section. For example, while the scooter transport mode is selected, if no reasonable alternative route is possible except violating controlled-access to highway rule for the section, one notice is generated for the violation. The user must judge all the notices carefully before proceeding. Gets the notices which explains the issues encountered during processing of this section. For example, while the scooter transport mode is selected, if no reasonable alternative route is possible except violating controlled-access to highway rule for the section, one notice is generated for the violation. The user must judge all the notices carefully before proceeding.
no setter
sectionTransportMode SectionTransportMode
The transport mode of this section. Gets the transport mode of this section.
no setter
spans → List<Span>
The Span's that constitute this section. Gets the Span's that constitute this section.
no setter
tolls → List<Toll>
All the tolls for this section. Note that tolls are found depending on the transport mode. For example, if pedestrian or bicycle transport mode specified, route sections have no tolls. Indoor route sections have no tolls, too. Note: If you're using the OfflineRoutingEngine, be aware that this feature is currently in beta. As a result, there may be some bugs or unexpected behaviors. Additionally, this feature and related APIs may be updated in future releases without going through the deprecation process. Note that the OfflineRoutingEngine is only available with the Navigate license. If you're using the RoutingEngine, this feature is considered to be stable. Gets all the tolls for this section. Note that tolls are found depending on the transport mode. For example, if pedestrian or bicycle transport mode specified, route sections have no tolls. Indoor route sections have no tolls, too.
no setter
trafficDelay → Duration
The estimated extra time in seconds spent due to traffic delays along this section. Negative values indicate that the route can be traversed faster than usual. Gets the estimated extra time in seconds spent due to traffic delays along this section. Negative values indicate that the route can be traversed faster than usual.
no setter
trafficIncidents → List<TrafficIncidentOnRoute>
The list of traffic incidents that are found on the section. the list of traffic incidents that are found on the section.
no setter
transitDetails TransitSectionDetails?
The transit details which are avilable for transit sections of a route. Gets the details of a transit section.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited