|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.geocoder.GeoAddressService
public class GeoAddressService
This class is used as service class. this class used for searching for geo location points by address which represented as string
| Constructor Summary | |
|---|---|
GeoAddressService()
|
|
| Method Summary | |
|---|---|
GeocoderResult |
getAddress(String address)
This method receives address as string and returns GeocoderResult for the given address |
GeocoderResult |
getAddress(String address,
String ccTLD)
This method gets address string and uses google service to find more details about this address using ccTLD |
LatLng |
getLatLngPointsByAddress(String address)
This method get address string as param and returns geolocation which contains the lattitude and longitude points of the geo location |
void |
initializeProperties()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeoAddressService()
| Method Detail |
|---|
@PostConstruct public void initializeProperties()
public GeocoderResult getAddress(String address)
GeoSearchableAddress
getAddress in interface GeoSearchableAddressaddress - being looked for
public GeocoderResult getAddress(String address,
String ccTLD)
getAddress in interface GeoSearchableAddressaddress - ccTLD - country code top-level domain
public LatLng getLatLngPointsByAddress(String address)
getLatLngPointsByAddress in interface GeoSearchableAddressaddress - to be find
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||