You need to log in before you can comment on or make changes to this bug.
In javascript mode (and perhaps normal mode), the panmap widget was not working as it should. The image after dragging the map did not have the right extent. In panmap.widget.php, on line 421, there is an if-statement testing whether the mouse coordinates are smaller than 0. I don't know why this is there (was it supposed to test whether the mouse coordinates are > 0?), but getting rid of the condition, leaving the content of the body of the if-statement, fixes the problem: ----------------------------------------------------------------- $szJsFunctionName = "PanMapWDragStart"; $szFunction = <<<EOT /** * {$szJsFunctionName} * called when the drag starts in PanMap widget. */ function {$szJsFunctionName}(x,y) { gnPanWFirstPointX = gMapWmouseX; gnPanWFirstPointY = gMapWmouseY; } -------------------------------------------------------------- Jacob
add to 2.0 and 2.1
Paul, did this make it into 2.0.1? Not in my copy of 2.0.1 :-) . Jacob's fix also worked for me. Bart
Made this change in both 2.0 and 2.2. 2.2: revision: 1.11 2.0: revision: 1.9.2.1