RoutePlace class - routing library - Dart API
RoutePlace
RoutePlace class
The location information.
Constructors
- RoutePlace(RoutePlaceType type, GeoCoordinates mapMatchedCoordinates)
- Creates a new instance.
Properties
- chargeInKilowattHours ↔ double?
-
Estimated battery charge in kWh for electric vehicles when leaving this place.
Available only if the route was calculated with EVCarOptions.ensureReachability =
true.getter/setter pair - chargingStation ↔ ChargingStation?
-
Charging station data for electric vehicles.
getter/setter pair
- displayCoordinates ↔ GeoCoordinates?
-
Location of the Points of Interest (PoI) to be displayed in the visualization.
In the map data, PoI have a set of display coordinates as well as a set of access/routing coordinates.
While the access/routing coordinates specify the nearest accessible road network location
that can be apart from actual location of the PoI,
the display coordinates specify the location of the PoI to be displayed accurately in the visualization.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- id ↔ String?
-
Identifier of a public transit place if available.
getter/setter pair
- mapMatchedCoordinates ↔ GeoCoordinates
-
Map-matched geographic coordinates.
getter/setter pair
- name ↔ String?
-
Name of a public transit place if available.
getter/setter pair
- originalCoordinates ↔ GeoCoordinates?
-
User-defined geographic coordinates. If not available, it means this place
was added during route calculation.
getter/setter pair
- platform ↔ String?
-
Platform name or number of a public transit place if available.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sideOfDestination ↔ SideOfDestination?
-
Side of destination: left, right or undefined.
nullfor transit sections and for origin points.UNDEFINEDiforiginalCoordinatesare not identified or too close to the road.getter/setter pair - type ↔ RoutePlaceType
-
The type of the route place.
getter/setter pair
- waypointIndex ↔ int?
-
If available, this index corresponds to the waypoint in the original
user-defined waypoint list. Otherwise, this waypoint was added during
route calculation by the system.
getter/setter pair
Methods
-
isOffRoad(
) → bool - Checks whether the RoutePlace is off-road or not.
-
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.