Comment #2 on issue 12196 by anindo.b: Google Maps enableDrawing gives  
wrong point in Chrome
http://code.google.com/p/chromium/issues/detail?id=12196

Hi any update on this fix.

The issue is with the webkit browsers. I am also getting the offset in  
Chrome and Safari.

In my previous project with Unitegps (www.unitegps.com) I build an applet  
where we
are allowing user to draw polygon. I did not use enableDrawing method,  
instead built
my own script. We had the same issue with webkit browsers.

To fix the issue I used
map.getDragObject().setDraggableCursor("url(http://www.mysite.com/images/cross9-7.cur)
  
16
16, url(http://www.mysite.com/images/cross9-7.cur), crosshair");

The first cursor [url(http://www.mysite.com/images/cross9-7.cur) 16 16] is  
a fix for
the webkit browser. The cursor is of size of 32 X 32. 16 16 is to tell the  
webkit
where the center of cursor be.

I guess this may help google map team and we may get a fix sooner.

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