|
Follow us on GitHub |
|||||||||
| 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.services.GeocoderResult
public class GeocoderResult
A single geocoder result retrieved from the geocode server. A geocode request may return multiple result objects. Note that though this result is "JSON-like," it is not strictly JSON, as it indirectly includes a LatLng object.
See GeocoderResult API Doc
| Constructor Summary | |
|---|---|
protected |
GeocoderResult()
use newInstance(); |
| Method Summary | |
|---|---|
JsArray<GeocoderAddressComponent> |
getAddress_Components()
An array of GeocoderAddressComponents |
String |
getFormatted_Address()
A string containing the human-readable address of this location. |
GeocoderGeometry |
getGeometry()
A GeocoderGeometry object |
JsArrayString |
getTypes()
An array of strings denoting the type of the returned geocoded element. |
static GeocoderResult |
newInstance()
A single geocoder result retrieved from the geocode server. |
void |
setAddress_Components(JsArray<GeocoderAddressComponent> address_components)
An array of GeocoderAddressComponents |
void |
setFormatted_Address(String formatted_address)
A string containing the human-readable address of this location. |
void |
setGeometry(GeocoderGeometry geometry)
A GeocoderGeometry object |
void |
setTypes(JsArrayString types)
An array of strings denoting the type of the returned geocoded element. |
| 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 |
| Constructor Detail |
|---|
protected GeocoderResult()
| Method Detail |
|---|
public static final GeocoderResult newInstance()
public final void setAddress_Components(JsArray<GeocoderAddressComponent> address_components)
address_components - public final JsArray<GeocoderAddressComponent> getAddress_Components()
public final void setFormatted_Address(String formatted_address)
formatted_address - public final String getFormatted_Address()
public final void setGeometry(GeocoderGeometry geometry)
geometry - public final GeocoderGeometry getGeometry()
public final void setTypes(JsArrayString types)
types - public final JsArrayString getTypes()
|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||