Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RouteConfig

A data type that represents the configuration for a route.

Hierarchy

  • RouteConfig

Index

Properties

Properties

Optional data

data: RouteData

Route data and information.

see

RouteData

Optional id

id: string

Route identifier.

points

points: Coordinate[] | string[]

Array of route waypoints as strings or ICoordiate objects that define the start, end and intermediate locations for the route.

This value is only used when using a third-party directions API and have configured the required service options. Values can be coordinates or place names as strings (47.25288,-122.44429, or austin,tx) or coordinate objects ({ lat: 47.25288, lon: -122.44429 }.

Optional title

title: string

Route name.

Generated using TypeDoc