class is used for storing the route path between the two points on the location. More...
Inherits Finalizable.
Public Member Functions | |
| RoutePath | head (double advance) |
| Returns the leading segment of the route. | |
| RoutePath | tail (double advance) |
| Returns the remaining segment of the route. | |
Public Attributes | |
| double get | length |
| Total lenth of the route path in meters. | |
| List< RouteEvent > get | events |
| List of consecutive incoming events RouteEvent. | |
| List< LocationPoint > get | points |
| List of consecutive points. LocationPoint. | |
class is used for storing the route path between the two points on the location.
Referenced from: AsyncRouteListener, AsyncRouteManager, Location, RouteListener, RouteManager
Definition at line 23 of file route_path.dart.
| RoutePath RoutePath.head | ( | double | advance | ) |
Returns the leading segment of the route.
Returns the portion of the route from the start up to the specified advance distance along the route. If advance exceeds the total route length, the entire route is returned.
| advance | Distance along the route (in meters). |
Dart code snippet:
| RoutePath RoutePath.tail | ( | double | advance | ) |
Returns the remaining segment of the route.
Returns the portion of the route starting from the specified advance distance to the end of the route. If advance is less than or equal to zero, the entire route is returned.
| advance | Distance along the route (in meters). |
Dart code snippet:
| List<RouteEvent> get RoutePath.events |
List of consecutive incoming events RouteEvent.
Dart code snippet:
Definition at line 80 of file route_path.dart.
| double get RoutePath.length |
Total lenth of the route path in meters.
Dart code snippet:
Definition at line 70 of file route_path.dart.
| List<LocationPoint> get RoutePath.points |
List of consecutive points. LocationPoint.
Dart code snippet:
Definition at line 92 of file route_path.dart.