[Chameleon] Matching selected area in keymap to main map

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Apr 23 15:18:25 EDT 2007


Hi,

You should also reset the minx, miny, maxx and maxy in the KeyMapDHTML 
widget to reflect your new extents. You can also change this in the 
mapfile directly.

Julien

Alan Hale wrote:
> Hello
> 
> I have adapted the sample_enhanced sample to my own application. This
> includes using a map of square rather than rectangular ratio. So I have
> matched the dimensions of the MapDHTML widget to those in my MAP file,
> and also made the width and height of the KeyMapDHTML widget equal.
> However, when I draw a bounding box within the main map, it is always
> reflected as a rectangle rather than a square in the key map, so there
> is a mis-match in the area shown to be selected. What else do I need to
> change to get a square boudning box in the key map?
> 
> Many thanks
> 
> Alan Hale
> Aberystwyth
> Wales
> 

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list