|
|||||||||
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.Placemark
public final class Placemark
This class represents a JSON result returned from the Google Geocoding service. This object contains an address encoded in eXtensible Address Language(xAL) from OASIS.
Constructor Summary | |
---|---|
protected |
Placemark()
A protected constructor is required for JS overlays. |
Method Summary | |
---|---|
int |
getAccuracy()
An attribute indicating how accurately the Google servers were able to geocode the given address. |
java.lang.String |
getAddress()
Returns the entire address for this result. |
java.lang.String |
getAdministrativeArea()
The xAL field for "AdministrativeArea", often referred to as 'state'. |
java.lang.String |
getCity()
xAL field for "LocalityName" returned by the query. |
java.lang.String |
getCountry()
The xAL field "CountryNameCode" for the country code. |
java.lang.String |
getCounty()
The xAL field for "SubAdministrativeAreaName". |
java.lang.String |
getLocality()
|
LatLng |
getPoint()
Returns the point corresponding to the decoded address. |
java.lang.String |
getPostalCode()
The xAL field for "PostalCode". |
java.lang.String |
getState()
The xAL field for "AdministrativeArea". |
java.lang.String |
getStreet()
The xAL field for "ThoroughfareName". |
java.lang.String |
getSubAdministrativeArea()
The xAL field for "SubAdministrativeAreaName", often called "county". |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Placemark()
Method Detail |
---|
public int getAccuracy()
public java.lang.String getAddress()
public java.lang.String getAdministrativeArea()
public java.lang.String getCity()
public java.lang.String getCountry()
public java.lang.String getCounty()
public java.lang.String getLocality()
public LatLng getPoint()
public java.lang.String getPostalCode()
public java.lang.String getState()
public java.lang.String getStreet()
public java.lang.String getSubAdministrativeArea()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |