Hello

I am trying to reverse geocode "Europe" continent.

Below is the code which returns response code as 200 but accuracy
level shows 0 "Unknown location"

function initialize() {
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(43.834526782236814, -37.265625), 1);
    window.geocoder = new google.maps.ClientGeocoder();
    geocoder.getLocations('Europe',showaddress);
  }
}

function showaddress(response){
  alert(response.Status.code);
  var placemark = response.Placemark[0]; // Only use first result
  var accuracy = placemark.AddressDetails.Accuracy;
  alert(accuracy);
}

Please help

Jigar
-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to