Options
All
  • Public
  • Public/Protected
  • All
Menu

The top-level status about the request in general returned by the DistanceMatrixService upon completion of a distance matrix request. Specify these by value, or by using the constant's name. For example, 'OK' or google.maps.DistanceMatrixStatus.OK.

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

Index

Enumeration Members

INVALID_REQUEST: "INVALID_REQUEST"

The provided request was invalid.

MAX_DIMENSIONS_EXCEEDED: "MAX_DIMENSIONS_EXCEEDED"

The request contains more than 25 origins, or more than 25 destinations.

MAX_ELEMENTS_EXCEEDED: "MAX_ELEMENTS_EXCEEDED"

The product of origins and destinations exceeds the per-query limit.

OK: "OK"

The response contains a valid result.

OVER_QUERY_LIMIT: "OVER_QUERY_LIMIT"

Too many elements have been requested within the allowed time period. The request should succeed if you try again after some time.

REQUEST_DENIED: "REQUEST_DENIED"

The service denied use of the Distance Matrix service by your web page.

UNKNOWN_ERROR: "UNKNOWN_ERROR"

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

Generated using TypeDoc