RouteSegmentBase class abstract
A contiguous portion of a computed route between two waypoints.
RouteSegmentBase exposes geometry, metrics (time/distance), geographic bounds and a list of RouteInstruction objects for the segment.
It is an abstract base implemented by concrete segment classes such as RouteSegment and PTRouteSegment. Obtain segment instances via RouteBase.segments.
See also:
- RouteBase.segments - Obtain segments from a route.
- RouteInstruction - Instructions within a segment.
- Implementers
Properties
- geographicArea → RectangleGeographicArea
-
Geographic bounding rectangle that encloses this segment.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegisteredAutoReleaseObject ↔ bool
-
getter/setter pairinherited
- incursCosts → bool
-
Whether traveling this segment may incur monetary costs (for example tolls).
no setter
-
instructions
→ List<
RouteInstruction> -
Turn-by-turn instructions for this segment.
no setter
- isCommon → bool
-
Whether this segment is of the same travel mode as the parent route.
no setter
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → String
-
Short textual summary of the segment (distance/time snippet).
no setter
- timeDistance → TimeDistance
-
Duration and distance metrics for this segment.
no setter
-
tollSections
→ List<
TollSection> -
Tolled sections contained in this segment.
no setter
-
waypoints
→ List<
Landmark> -
List containing the segment's start, end and any intermediate waypoints.
no setter
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited