TransitRoutingEngine class abstract

Use the TransitRoutingEngine to calculate a public transit route from A to B with a number of waypoints in between.

Route calculation is done asynchronously and requires an online connection. The resulting route contains various information such as the polyline, route length in meters, estimated time to traverse along the route and maneuver data.

Constructors

TransitRoutingEngine()
Creates a new instance of this class.
factory
TransitRoutingEngine.withSdkEngine(SDKNativeEngine sdkEngine)
Creates a new instance of TransitRoutingEngine.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateRoute(TransitWaypoint startingPoint, TransitWaypoint destination, TransitRouteOptions routeOptions, CalculateRouteCallback callback) TaskHandle
Asynchronously calculates a public transit route from the origin to the destination.
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