Google Maps Geo Coding Example
Geocoding is the process of converting addresses (like "Bangalore") into geographic coordinates (like latitude 12.97xxxxx and longitude 77.f9xxxx), which you can use to place markers or position the map. The Google Maps API includes a Geocoding service that can be accessed directly via an HTTP request or by using a GClientGeocoder object. Note that geocoding is a time and resource intensive task. Whenever possible, pre-geocode your addresses (using the HTTP geocoder or other geocoding service), and store your results. Getting the Geo Code using Google Api For a Particular Geo Address using ::class GClientGeocoder:: This class is used to communicate directly with Google servers to obtain geocodes for user specified addresses. In addition, a geocoder maintains its own cache of addresses, which allows repeated queries to be answered without a round trip to the server. The Following Example shows How to echo/alert the Longitude and Latitude of a Particular location va