[Mapserver-users] select mapsize from combo box - solved
Steve McCrone
mccrone@pc.jaring.my
Sat, 15 Feb 2003 19:03:00 +0800
I am using mapserver 3.6 and the rosa applet. I wanted to have a combo box
where the suer could change the mapsize.
For the benefit of anyone else having this problem, I solved it by -
Calling a javascript function
each time the page is submitted (i.e. <BODY onLoad="Initialize();">),
where the Initialize() function contains the following lines -
//====================================
aForm.MapSize.value = "[mapwidth] [mapheight]";
aForm.mapext.value = "[minx] [miny] [maxx] [maxy]";//****this is the key to
retaining the extents
//====================================
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users