Bug 849

Summary: KeyMap panning does not work correctly
Product: Chameleon Reporter: Bart van den Eijnden <bartvde@osgis.nl>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.