Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RouteData

A data type that represents the data for a route.

Hierarchy

  • RouteData

Index

Properties

Optional asset

asset: RouteAsset

Additional information about the asset or payload associated with the route when available.

see

RouteAsset;

Optional current

Information about the asset's current position along the route when available.

Optional departure

departure: RoutePointInfo

Information about the departure route point.

Optional destination

destination: RoutePointInfo

Information about the destination route point.

Optional distanceMeters

distanceMeters: number

Total travel distance for the route, in meters.

Optional durationSeconds

durationSeconds: number

Total travel time for the route, in seconds.

Optional feature

feature: Feature

GeoJSON feature providing the route path for the map.

Optional waypoints

waypoints: Feature[]

Array of GeoJSON features providing a series of waypoints along the route to plot on the map.

Generated using TypeDoc