The DirectionsRequest
provided was invalid.
Too many DirectionsWaypoint
s were provided in the
DirectionsRequest
. See the
developer's guide for the maximum number of waypoints allowed.
At least one of the origin, destination, or waypoints could not be geocoded.
The response contains a valid DirectionsResult
.
The webpage has gone over the requests limit in too short a period of time.
The webpage is not allowed to use the directions service.
A directions request could not be processed due to a server error. The request may succeed if you try again.
No route could be found between the origin and destination.
Generated using TypeDoc
The status returned by the
DirectionsService
on the completion of a call toroute()
. Specify these by value, or by using the constant's name. For example,'OK'
orgoogle.maps.DirectionsStatus.OK
.Access by calling
const {DirectionsStatus} = await google.maps.importLibrary("routes")
. See https://developers.google.com/maps/documentation/javascript/libraries.