DirectionsStatus class

The status field within the Directions response object contains the status of the request, and may contain debugging information to help you track down why the Directions service failed.

Constructors

DirectionsStatus(String? _name)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override

Static Properties

values List<DirectionsStatus>
final

Constants

invalidRequest → const DirectionsStatus
Indicates that the provided request was invalid. Common causes of this status include an invalid parameter or parameter value.
maxRouteLengthExceeded → const DirectionsStatus
Indicates the requested route is too long and cannot be processed. This error occurs when more complex directions are returned. Try reducing the number of waypoints, turns, or instructions.
maxWaypointExceeded → const DirectionsStatus
Indicates that too many waypoints were provided in the request. For applications using the Directions API as a web service, or the maps_js_api, the maximum allowed number of waypoints is 25, plus the origin and destination.
notFound → const DirectionsStatus
Indicates at least one of the locations specified in the request's origin, destination, or waypoints could not be geocoded.
ok → const DirectionsStatus
Indicates the response contains a valid result.
overDailyLimit → const DirectionsStatus
Indicates any of the following: * The API key is missing or invalid. * Billing has not been enabled on your account. * A self-imposed usage cap has been exceeded. * The provided method of payment is no longer valid (for example, a credit card has expired). * See the faq to learn how to fix this.
overQueryLimit → const DirectionsStatus
Indicates the service has received too many requests from your application within the allowed time period.
requestDenied → const DirectionsStatus
Indicates that the service denied use of the directions service by your application.
unknownError → const DirectionsStatus
Indicates a directions request could not be processed due to a server error. The request may succeed if you try again.
zeroResults → const DirectionsStatus
Indicates no route could be found between the origin and destination.