|
|||||||||
| 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.mapitz.gwt.googleMaps.client.GClientGeocoder
public class GClientGeocoder
This class is used to communicate directly with Google servers to obtain geocodes for user specified addresses. In addition, a geocoder maintains its own cache of addresses, which allows repeated queries to be answered without a round trip to the server.
| Method Summary | |
|---|---|
static GClientGeocoder |
create()
GClientGeocoder(cache?) Creates a new instance of a geocoder that talks directly to Google servers. |
static GClientGeocoder |
create(GGeocodeCache cache)
GClientGeocoder(cache?) Creates a new instance of a geocoder that talks directly to Google servers. |
GGeocodeCache |
getCache()
getCache() GGeocodeCache Returns currently used geocode cache, or null, if no client-side caching is performed. |
void |
getLatLng(java.lang.String address,
GGeocodeResultListener result)
getLatLng(address, callback) none Sends a request to Google servers to geocode the specified address. |
void |
getLocations(java.lang.String address,
GGeocodeAdvancedResultListener result)
getLocations(address, callback) none Sends a request to Google servers to geocode the specified address. |
void |
reset()
reset() none Resets the geocoder. |
GGeocodeCache |
setCache(GGeocodeCache cache)
setCache(cache) none Sets a new client-side caching. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GClientGeocoder create(GGeocodeCache cache)
public static GClientGeocoder create()
public void getLatLng(java.lang.String address,
GGeocodeResultListener result)
public void getLocations(java.lang.String address,
GGeocodeAdvancedResultListener result)
address - result - public GGeocodeCache getCache()
public GGeocodeCache setCache(GGeocodeCache cache)
public void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||