On Oct 19, 10:47 am, johnnyboy <[email protected]> wrote:
> I am trying to capture the lat/lng when someone clicks inside a park
> or other green area.  If you click inside a park as in:
>
> http://mapsapi.googlepages.com/reversegeo.htm
>
> a marker appears and an alert responds with the lat/lon combination.
> This is exactly what I want to happen.  I copied this code exactly
> replacing only the API key and the marker does not appear where I
> click.  It moves from the click of origin to some other area.  My copy
> is here:
>
> http://www.johnny4.com/reversegeo.htm

Why are you reverse geocoding it if you already have the coordinates
you need?  Save the ones from the click and don't use the reverse
geocoder.


>
> At my domain, when you click on a park the marker is moved with a red
> line that shows the click of origin and the relocation of the marker.
> I want the marker to stay where I click rather than move to a new
> location.  It seems that this only works on the other domain and I am
> not certain why.  This code is exactly the same and I am confused
> about why these domains experience different results.  I was wondering
> if someone could explain these discrepancies and how to reproduce the
> markers in parks.
>
> I can reproduce this problem in these browsers Firefox 3.5.3 and Opera
> 10 on these operating systems, osx 5.6, Fedora Core 11 and Windows 7.
> They are also experienced in Chrome 3.0.195.27 on Windows 7.

Try not using the reverse geocoding code...

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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