On Nov 28, 8:13 am, oakisland <[email protected]> wrote: > http://phoons.com/cgi/testmap2.pl > > I get different click-location coordinates in FFox and IE. Why? > > To see what I'm seeing, use the skinny gray "vertical" line (just off > the road, down to the right) for reference. > > Good: When I hover the cursor over the top end of that line, then move > it down to the bottom end of that line, both FFox and IE change from > about ....708 to ....702, a difference of ....06. > > Good: When I click either end in FFox, the "alert" states basically > the same lat/lng as mousemove. > > Bad: When I click the top end in IE's, the alert says the lat is .... > 710 at the top, ....649 at the bottom, a DIFFERENCE OF ....61 instead > of ....06. (To increase the mystery, the midpoint of that line is > only 03 from the top of the line.) > > What is UP with this? The longitude is even more messed up in IE. > > Thanks > John
Let me guess: you're using IE8. There are lots of threads about IE8. http://groups.google.com/group/google-maps-api/browse_thread/thread/dc03566634ae4b57 http://groups.google.com/group/google-maps-api/browse_thread/thread/3ef0737c6c0ec9df There's a <meta> tag which fixes the issue. Or, if you don't want to do that, you need to work around it by maintaining a variable the current mouse position using mousemove (which works, I think) in order that you can use the real position on click. Andrew -- 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.
