Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 9731 by jeffhennick:  Chrome and Google Maps enableDrawing() -  
bug?
http://code.google.com/p/chromium/issues/detail?id=9731

Chrome Version  2.0.169.1     : <Copy from: 'about:version'>
URLs (if applicable) : jeff-h.com/test/enableDrawing.html
VictorHikingTrails.Org/map
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x: OK
          IE 7: OK
          IE 8:

What steps will reproduce the problem?  VictorHikingTrails.Org/map
1.Click the "Pedometer" button.
2.the "Draw New" button
3.Click on the map to do the drawing. (Note wrong box-point for Chrome)
4.click "End Draw" to put it on the map.  (All points displaced in Chrome)

[As posted in Maps Group:]

  Chrome enableDrawing() - bug?

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.

What is the expected result?


What happens instead?


Please provide any additional information below. Attach a screenshot if
possible.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to