|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocationCallback
Used as an argument for the getLocations() method in
Geocoder.getLocations(String, LocationCallback)
.
Method Summary | |
---|---|
void |
onFailure(int statusCode)
Called when the geocoding service fails. |
void |
onSuccess(com.google.gwt.core.client.JsArray<Placemark> locations)
Called when the geocoding service returns a result successfully. |
Method Detail |
---|
void onFailure(int statusCode)
statusCode
- a value defined in StatusCodes
void onSuccess(com.google.gwt.core.client.JsArray<Placemark> locations)
locations
- an array of Placemarks that match the query.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |