cgi Run-time Substitution for map size {Scanned} {Scanned}
Siki Zoltan
siki at AGT.BME.HU
Wed Mar 15 04:32:09 PST 2006
Hi,
You can use hidden form variable to set mapsize from your html template is
you use cgi mapserver. You can use javascript to change the value of
hidden variable.
<form name=mapserv>
...
<input type="hidden" name="mapsize" value="600 600">
...
</form>
...
<script language=JavaScript>
...
mapserv.mapsize.value = ....;
...
</script>
Query string variables override map file settings.
Zoltan
On Tue, 14 Mar 2006, Carola Jesch wrote:
> Hi List,
>
> I would like to use a variable in my map files for the map SIZE. After
> reading a while in the how-to I realized that is is not supported right now.
> Is there any reason why?
>
> Carola
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Carola Jesch
> Wetland Biogeochemistry Institute
> Department of Oceanography and Coastal Science
> Louisiana State University
> 3191 Energy, Coast & Environment Bldg.
> Baton Rouge, LA,70803
> e-mail: cjesch at cct.lsu.edu
>
>
More information about the MapServer-users
mailing list