Reverse geocoding with Google Maps API
Posted
by user296516
on Stack Overflow
See other posts from Stack Overflow
or by user296516
Published on 2010-04-19T13:16:07Z
Indexed on
2010/04/19
13:23 UTC
Read the original article
Hit count: 557
I have found this code for reverse geocoding:
var point = new GLatLng (lat[1],long[1]);
var geocoder = new GClientGeocoder();
geocoder.getLocations (point, function(result) { alert (lat[1]+' '+long[1]+' '+result.address); });
But it pops the alert, saying that result.address is 'undefined'. Any ideas, what could be the problem?
© Stack Overflow or respective owner