Has anyone else seen this "bug"?

Using Google Map's polyLine enableDrawing() in Google Chrome ("up to
date: (2.0.169.1)") gives the wrong point.  It is offset to the north
and west of the clicked point; about 4-px and 10-px.

Here is a page that illustrates the problem I am seeing comparing
Firefox and Chrome on Windows Vista:

http://jeff-h.com/test/enableDrawing.html

(Opera and Internet Explorer also work as Firefox.)

And here is a live page that shows the problem.  (Sorry, I don't have
stripped down error-only page.):

http://www.victorhikingtrails.org/map/

To draw on it: Click the "Pedometer" button. Then the "Draw New"
button. Click on the map to do the drawing.
Finally, click "End Draw" to put it on the map.

My javascript routine is:

{
  HEPoly = new GPolyline([], "#ff00ff",5,.50);
  map.addOverlay(HEPoly)
  HEPoly.enableDrawing()
  GEvent.addListener(HEPoly, "endline", function() {HEdit(-1)})
}

Potential work around:  If required, I will "browser sniff" and for
Chrome alter all the points in the HEdit() subroutine, but I don't
like that at all!

Thanks for any help.
--~--~---------~--~----~------------~-------~--~----~
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