[Chameleon] KeyMapDHTML2 widget problem

bartvde at xs4all.nl bartvde at xs4all.nl
Tue May 11 10:25:12 EDT 2004


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?

Best regards,
Bart


More information about the Chameleon mailing list