[OpenLayers-Trac] Re: [OpenLayers] #3196: Zoom after drawing:
Strange behavior of the cursor.
OpenLayers
trac-20090302 at openlayers.org
Mon Mar 28 18:15:03 EDT 2011
#3196: Zoom after drawing: Strange behavior of the cursor.
--------------------------+-------------------------------------------------
Reporter: jorix | Owner: tschaub
Type: bug | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Handler.Path | Version: SVN
Keywords: | State: Review
--------------------------+-------------------------------------------------
Changes (by jorix):
* state: => Review
Comment:
The patch fixes this problem, and also the issue described in #3179 for
Handler.Path and Handler.Polygon.
Tested on Chrome-10 and IE8 (all controls and handlers)
NOTE: It would be useful to add NaN control in tests/geom_eq.js as:
{{{
@@ -23,11 +23,15 @@
got = "undefined";
} else if (got === null) {
got = "null";
+ } else if (isNaN(got)) {
+ got = "NaN";
}
if(expected === undefined) {
expected = "undefined";
} else if (expected === null) {
expected = "null";
+ } else if (isNaN(expected)) {
+ expected = "NaN";
}
if(got != expected) {
throw msg + ": got '" + got + "' but expected '" + expected +
"'";
}}}
Please review.
--
Ticket URL: <http://trac.openlayers.org/ticket/3196#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list