Bug 389

Summary: [Chameleon-Widget] KeyMap extent wrong
Product: Chameleon Reporter: Chris Thorne <cthorne@dmsolutions.ca>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description From 2004-05-18 16:01:00
The KeyMap with wrong extent is back again. I varified that the chameleon.map
extent and projection is are the same used in the *.hml in the keymap widget.

minx="-2594561" 
miny=" -712631" 

maxx="3467361" 
maxy="3840000" 

srs="epsg:42304"

The keymap image does not seem right. So I can only assume that there is some
actual problem with the keymap.
------- Comment #1 From 2004-05-18 16:56:06 -------
verified that this bug exists and that it is not a mapserver bug, the problem
occurs in drawmap.php in the DrawReferenceMap function, it is trying to
accomodate potential differences in projection between map and keymap.  There is
obviously an error in calculations here but I haven't found it yet.
------- Comment #2 From 2004-05-18 17:30:53 -------
fixed ... there was a specific problem if an SRS was specified with the keymap
that caused the left and bottom edges of the keymap to be placed in the wrong
spot (basically if the pixel location should have been off the left or bottom edge)
------- Comment #3 From 2004-05-27 12:41:36 -------
Verified on Windows 2000 and on Linux using hawaii demo (xcalibur).
------- Comment #4 From 2004-06-24 13:08:54 -------
verified on window locally keymap extent is fine...