<p>I have sets of co-ordinates in the following format </p>
<blockquote>
</blockquote><p>(-33.9,18.6)</p><p>How do I go about getting the name of the nearest town or Country
for those co-ords? I'm guessing it will involve Javascript, but am
happy to also use PHP if appropriate?</p>
<p>Am trying the <a style="text-decoration: line-through;" href="http://code.google.com/apis/maps/documentation/services.html#ReverseGeocoding" rel="nofollow">Google Reverse Geocoder</a>
but having trouble with it. The following code is pretty identical to
one of their examples but doesn't seem to be running at all... any
ideas why?</p><pre><code><script type="text/javascript" charset="utf-8"><br> function reverseGeocode(lat,lon){<br><br> var geocoder = new GClientGeocoder();<br> var latlng = new GLatLng(lat, lon);<br>
geocoder.getLocations(latlng, function(addresses) {<br> alert(addresses);<br> });<br><br> }<br> </script><br><br>Josef Tupag - <a href="http://thebesthumidifiers.com">best humidifier</a><br>
</code></pre><blockquote><p></p></blockquote>