Bug 849 - KeyMap panning does not work correctly
: KeyMap panning does not work correctly
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-11-12 14:18 by
Modified: 2004-11-23 12:14 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-11-12 14:18:49
I am using MS4W 1.0 and Chamaleon 1.99 beta3. IE 6.

I tried using panning in the keymap from the roi sample application.

If I pan to the NE in the keymap, the box moves to the SW etc.

Happens both with mapscript 4.2 and mapscript 4.4.

It can also happen now that you get exceptions when zooming in on the keymap
after such a pan action:

Fatal error: [MapServer Error]: setExtent(): Given map extent is invalid. in
C:\ms4w\apps\chameleon\htdocs\widgets\KeyMapDHTML\KeyMapDHTML.widget.php on line 218
------- Comment #1 From 2004-11-23 12:14:21 -------
fixed in cvs.  The code was swapping extents if they were backward, but this
wasn't needed for recentering, only for zooming.