Hi there
I have just observed the following piece of code:
window.geocoder.geocode( { 'address':addr }, function(results, status)
{
if (status == google.maps.GeocoderStatus.OK) {
alert(results[0].geometry.location);
alert(results[0].geometry.location.latitude);
} else {
alert("Geocode was not successful for the following reason: " +
status);
}
});
It shows two alert boxes, one with a string-encoded geocode (e.g.
"(51.4139, -0.194268)") and the second with "null". According to your
documentation here
http://code.google.com/apis/maps/documentation/v3/services.html#Results
it states that geometry.location should be "a LatLng object, not a
formatted string." - which is correct?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.