[mapserver-users] Checkboxes

Stephen Woodbridge woodbri at swoodbridge.com
Wed Dec 12 16:24:27 EST 2001


Beth,

Try this:

http://hostname/cgi-bin/mapserv.exe?map=E:\MapServer\Fort_Jackson\jackson_test2.map&layer=Roads&layer=Ranges&layer=TAs

which assumes you have in your map file:

LAYER
  NAME Roads
  ...
END

LAYER
  NAME Ranges
  ...
END

etc

Here is a url to my work in progress (ie: under construction):
        http://swoodbridge.com/web2/ms_test
you can turn layers on/off and see what happens on the url.

-Steve

Beth Baily wrote:
> 
> MapServer Users,
> 
> I'm trying to follow the demo example 4.  How do you get the checkboxes
> to stay checked when the layers are visible?  I'm loading my page with
> the layers like this:
> 
> http://hostname/cgi-bin/mapserv.exe?map=E:\MapServer\Fort_Jackson\jackson_test2.map&layers=Roads+Ranges+TAs
> 
> but the layers are not checked as they are in the example.  What am I
> doing wrong?
> 
> Beth Baily
> --
> -------------------------------------
> Beth Baily
> Center for Environmental Management of Military Lands
> Colorado State University
> Fort Collins, CO 80523
> Ph#:970/491-3814
> FAX#:970/491-2713
> E-mail: bbaily at cemml.colostate.edu
> -------------------------------------



More information about the mapserver-users mailing list