[Chameleon-dev] [Bug 398] New: [Chameleon - Widget] KeyMapDHTML2 error when aspect ratio differs from map

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Thu May 20 22:10:28 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=398

           Summary: [Chameleon - Widget] KeyMapDHTML2 error when aspect
                    ratio differs from map
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: pspencer at dmsolutions.ca
                CC: bartvde at xs4all.nl


Reported by Bart.

Note none of the sample templates test this case, propose to modify one of the
samples to test this and to have a test for it in the future.

> Hi list,
> 
> I have a problem with the KeyMapDHTML2 widget. The box indicated on the
> key map is not correct when the pixel width/height proportions differ
> between KeyMap and MapDHTMLWidget.
> 
> My MapDHTML widget has the following dimensions: width 800 height 560
> 
> My key map has the following dimensions:
> 
> <cwc2 type="KeyMapDHTML2"
> image="C:/ms4w/apps/geoservices05/htdocs/images/nederland.png" SRS="28992"
> WIDTH="135" HEIGHT="157" MINX="20000" MAXX="285000" MINY="305000"
> MAXY="620000" />
> 
> Is this to be considered a bug in the KeyMap, or is this by design? I.e.
> should all applications use a key map in the same proportions as the main
> map?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list