RouteSegmentBase class abstract Routes & Navigation

Route Segment Base interface

This class should not be instantiated directly. Instead, use the RouteBase.segments to retrieve a list of route segments.

Represents a single contiguous segment of a computed route, exposing geometry, metrics and metadata.

Provides access to a RouteInstruction list. It is implemented within the RouteSegment, PTRouteSegment classes.

Implementers

Properties

geographicArea RectangleGeographicArea
Get geographic area of the route
no setter
hashCode int
The hash code for this object.
no setterinherited
incursCosts bool
Method to check if traveling the route or route segment incurs cost to the user.
no setter
instructions List<RouteInstruction>
Get route instructions list.
no setter
isCommon bool
Check if this segment is of common type.
no setter
pointerId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
summary String
Get summary of the route segment.
no setter
timeDistance TimeDistance
Get length in meters and estimated travel time in seconds for the route / route segment.
no setter
waypoints List<Landmark>
Get the list containing segment start and end waypoints.
no setter

Methods

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