com.google.code.geocoder
Interface GeoSearchableAddress

All Known Implementing Classes:
GeoAddressService

public interface GeoSearchableAddress

Interface which specifies search operations that can be done using an address


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 receives address as string input and country code top-level domain (ccTLD) that is used to indicate the region and returns GeocoderResult
 LatLng getLatLngPointsByAddress(String address)
          This method receives address as string input and and returns a LatLng object which represents this address
 

Method Detail

getAddress

GeocoderResult getAddress(String address)
                          throws IOException
This method receives address as string and returns GeocoderResult for the given address

Parameters:
address - being looked for
Returns:
geocoder result
Throws:
IOException

getAddress

GeocoderResult getAddress(String address,
                          String ccTld)
                          throws IOException
This method receives address as string input and country code top-level domain (ccTLD) that is used to indicate the region and returns GeocoderResult

Parameters:
address - being looked for
ccTld - - country code top-level domain
Returns:
geocoder result
Throws:
IOException

getLatLngPointsByAddress

LatLng getLatLngPointsByAddress(String address)
                                throws IOException
This method receives address as string input and and returns a LatLng object which represents this address

Parameters:
address -
Returns:
Throws:
IOException


Copyright © 2014. All Rights Reserved.