[Mapserver-users] Reslecting

Eric Bridger eric at gomoos.org
Mon Jul 7 02:49:19 PDT 2003


In fact, mapserver will remember this for you. You can use:

<input type=checkbox name=layer value=[layer_name] [layer_name_check]>

or layer_name_select for <select> lists of layers. For more mapserver
template variables see:
http://mapserver.gis.umn.edu/doc36/template-reference.html

Eric

On Thu, 2003-07-03 at 18:12, Swaminathan, Gayathri wrote:
> Hi:
> If your code looked something like this in the legend..
>  
> <form method=POST action="/cgi-bin/mapserv.exe" target="map" name="mapserv">
>     <----Rest of all the map information----->
>      <input type=checkbox name=layer value=[layer_name] CHECKED>
> </form>
> that should work for you.
> Thanks,
> Gayathri
> 
> 
> -----Original Message-----
> From: John M. Duggan, LSIT [mailto:gis at farmvilleva.com] 
> Sent: Thursday, July 03, 2003 11:14 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] Reslecting
> 
> 
> Hello all, I sure appreciate everyone's input on this list it helps me out
> in many ways. I'm hoping for a little more on check box's. I would like to
> be able to inform the server that if someone checks a box to turn on a layer
> that it will stay checked until they uncheck it. Is this possible?
> Thanks,
> John
>  
> John M. Duggan LSIT
> gis at farmvilleva.com <mailto:gis at farmvilleva.com> 
> http://www.farmvilleva.com <http://www.farmvilleva.com> 
> (434) 392-3333
>  
> "......for the whole universe is in Him and He dwells
> within our heart."
>                           -The Upanishads
> 





More information about the MapServer-users mailing list