|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.geocode.StatusCodes
public class StatusCodes
Result status codes for the Google Geocoding service.
Field Summary | |
---|---|
static int |
API_ERROR
Something went wrong inside the API itself. |
static int |
BAD_KEY
The given key is either invalid or does not match the domain for which it was given. |
static int |
BAD_REQUEST
A directions request could not be successfully parsed. |
static int |
MISSING_ADDRESS
Synonym for MISSING_QUERY . |
static int |
MISSING_QUERY
The HTTP q parameter was either missing or had no value. |
static int |
SERVER_ERROR
A geocoding or directions request could not be successfully processed, yet the exact reason for the failure is not known. |
static int |
SUCCESS
No errors occurred; the address was successfully parsed and its geocode has been returned. |
static int |
TOO_MANY_QUERIES
The given key has gone over the requests limit in the 24 hour period. |
static int |
UNAVAILABLE_ADDRESS
The geocode for the given address or the route for the given directions query cannot be returned due to legal or contractual reasons. |
static int |
UNKNOWN_ADDRESS
No corresponding geographic location could be found for the specified address. |
static int |
UNKNOWN_DIRECTIONS
The Directions object could not compute directions between the
points mentioned in the query. |
Constructor Summary | |
---|---|
protected |
StatusCodes()
|
Method Summary | |
---|---|
static java.lang.String |
getName(int statusCode)
|
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int BAD_KEY
public static final int BAD_REQUEST
public static final int MISSING_ADDRESS
MISSING_QUERY
.
public static final int MISSING_QUERY
public static final int SERVER_ERROR
public static final int SUCCESS
public static final int TOO_MANY_QUERIES
public static final int UNAVAILABLE_ADDRESS
public static final int UNKNOWN_ADDRESS
public static final int UNKNOWN_DIRECTIONS
Directions
object could not compute directions between the
points mentioned in the query. This is usually because there is no route
available between the two points, or because we do not have data for
routing in that region.
public static final int API_ERROR
Constructor Detail |
---|
protected StatusCodes()
Method Detail |
---|
public static final java.lang.String getName(int statusCode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |