[Mapguide-trac] [mapguide-trac] #2105: Chromium/Google Chrome cursor displacement in Ajax viewer
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Aug 31 05:24:56 PDT 2012
#2105: Chromium/Google Chrome cursor displacement in Ajax viewer
--------------------------+-------------------------------------------------
Reporter: gabrimonfa | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: General | Version: 2.2.0
Severity: trivial | Keywords:
External_id: |
--------------------------+-------------------------------------------------
Comment(by gabrimonfa):
Hi, this is a Chromium/Chrome bug
https://code.google.com/p/chromium/issues/detail?id=145919
http://code.google.com/p/chromium/issues/detail?id=12578
Since the bug does not appear for standard cursors, a possible workaround
is to use plain crosshair cursor instead of beatiful .cur cursors whenever
"tip" precision is required (IMHO in digitizing and in measure point
precision is required).
For instance, this is how to have standard crosshair in digitizePoint and
measure
function SetMapCursor(strCursor) in file: ajaxmappane.templ
- else
- {
- strCursor = "url('../stdicons/" + strCursor +
".cur'), pointer";
- }
+ else
+ {
+
//https://code.google.com/p/chromium/issues/detail?id=145919
+ if (chrome && (strCursor == "digitizePoint" || strCursor
== "measure"))
+ strCursor = "crosshair";
+ else
+ strCursor = "url('../stdicons/" + strCursor +
".cur'), pointer";
+ }
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2105#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list