OsrmWaypoint class
OsrmWaypoint class for a waypoint
Constructors
-
OsrmWaypoint({String? name, OsrmCoordinate? location, num? distance, String? hint, List<
num> ? nodes, num? alternativesCount, num? matchingsIndex, num? waypointIndex}) -
OsrmWaypoint.fromMap(Map<
String, dynamic> json) -
fromMap method to get the OsrmWaypoint from a json map
factory
Properties
- alternativesCount → num?
-
alternativesCount number of probable alternative matchings for this trace point
final
- distance → num?
-
distance the distance, in metres, from the input coordinate to the snapped coordinate
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
hint unique internal identifier of the segment (ephemeral, not constant over data updates)
final
- location → OsrmCoordinate?
-
location array that contains the
longitude, latitude
pair of the snapped coordinatefinal - matchingsIndex → num?
-
matchingsIndex index to the Route object in matchings the sub-trace was matched to
final
- name → String?
-
name name of the street the coordinate snapped to
final
-
nodes
→ List<
num> ? -
nodes OpenStreetMap node IDs
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- waypointIndex → num?
-
waypointIndex index of the waypoint inside the matched route
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toMap method to get the OsrmWaypoint as a json map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited