Options
All
  • Public
  • Public/Protected
  • All
Menu

The status returned by the DirectionsService on the completion of a call to route(). Specify these by value, or by using the constant's name. For example, 'OK' or google.maps.DirectionsStatus.OK.

Access by calling const {DirectionsStatus} = await google.maps.importLibrary("routes"). See https://developers.google.com/maps/documentation/javascript/libraries.

Index

Enumeration Members

INVALID_REQUEST: "INVALID_REQUEST"

The DirectionsRequest provided was invalid.

MAX_WAYPOINTS_EXCEEDED: "MAX_WAYPOINTS_EXCEEDED"

Too many DirectionsWaypoints were provided in the DirectionsRequest. See the developer's guide for the maximum number of waypoints allowed.

NOT_FOUND: "NOT_FOUND"

At least one of the origin, destination, or waypoints could not be geocoded.

OK: "OK"

The response contains a valid DirectionsResult.

OVER_QUERY_LIMIT: "OVER_QUERY_LIMIT"

The webpage has gone over the requests limit in too short a period of time.

REQUEST_DENIED: "REQUEST_DENIED"

The webpage is not allowed to use the directions service.

UNKNOWN_ERROR: "UNKNOWN_ERROR"

A directions request could not be processed due to a server error. The request may succeed if you try again.

ZERO_RESULTS: "ZERO_RESULTS"

No route could be found between the origin and destination.

Generated using TypeDoc