Thanks Larry, in case anyone gets this issue, this is what I did to
fix it:
//takes a google.LatLng object
//returns an array with city at [0] amd country at [1]
function reverseGeocode(marker) {
var location = new Object();
city = ["administrat
On Nov 5, 12:34 am, Rob wrote:
> Thanks for helping out, so I followed your suggestion of doing a
> reverse geocode when dropping the marker, such as:
>
> markerLocation = reverseGeocode(marker.getPosition());
> alert(markerLocation.city);
>
> Howeve
Thanks for helping out, so I followed your suggestion of doing a
reverse geocode when dropping the marker, such as:
markerLocation = reverseGeocode(marker.getPosition());
alert(markerLocation.city);
However, markerLocation is always null, even thoug
Thanks for helping out, so I followed your suggestion and tried to
implement it when the marker is dropped, such as:
var location = null;
location = reverseGeocode(marker.getPosition());
if(marker.city == null)
> I have a map where I drop a number of markers.
That would be the time to do reverse gecoding?
> I need to save the
> location of the markers to a database, along with the city and country
> that the marker was placed in.
Beware the terms of use for storing Google's data
> Any way I can do th