|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Geocoder
Geocoder
| Method Summary | |
|---|---|
boolean |
geocode()
Attempts to geocode the location based on the current information. |
double |
getLatitude()
Returns the latitude (in decimal form) of the location geocoded. |
double |
getLongitude()
Returns the longitude (in decimal form) of the location geocoded. |
java.lang.String |
getPrecision()
Returns any precision information provided by the underlying geocoder. |
java.lang.String |
getWarning()
Returns any warnings given by the underlying geocoder. |
void |
setAddress(java.lang.String address)
Sets the street address of the location to geocode. |
void |
setCity(java.lang.String city)
Sets the city name of the location to geocode. |
void |
setCountry(java.lang.String country)
Sets the country code for the location to geocode. |
void |
setState(java.lang.String state)
Sets the state/province of the location to geocode. |
void |
setZip(java.lang.String zip)
Sets the ZIP or Postal code of the location to geocode. |
| Method Detail |
|---|
void setAddress(java.lang.String address)
address - A valid street address (i.e. 74 Connor Lane)void setCity(java.lang.String city)
city - The US or Internation city name.void setState(java.lang.String state)
state - The US state or International province name.void setZip(java.lang.String zip)
zip - The US ZIP or International postal code.void setCountry(java.lang.String country)
country - The ISO compliant 2-character country code.double getLongitude()
double getLatitude()
boolean geocode()
java.lang.String getPrecision()
java.lang.String getWarning()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||