[Cartoweb-users] How to manage Layer Visibility by default

Daniel McInerney daniel.mcinerney at ucd.ie
Wed Mar 10 10:56:14 EST 2010


Hi Jeremie,

You should edit the initialMapStates option(s) in the
file ./server_conf/yourmap.ini. You'll find further
details on page 43  of the Cartoweb Documentation book
(3.3.0 Edition).

You'll also get some ideas from the demo file in:
./demoCW3/server_conf/demoCW3/demoCW3.ini

Regards,
Daniel.

JOALLAND jérémie wrote:
> I am new in Cartoweb, but get an existing project and have to do some
> evolution.
> 
>  
> 
> The MAP file defines all layers at “visible” by default, as I only see
> “STATUS ON” for each “LAYER” definition.
> 
> However, when I start my cartoweb project, and I take a look at my legend
> tab, I can see that some Layers are UNCHECK and set to not visible by
> default.
> 
>  
> 
> So any idea where the default visibility status of my layers is defined ? in
> which files I have to search ?
> 
>  
> 
> Basically, I just want to change the default visibility of some layers…
> 
>  
> 
> Thanks.
> 
>  
> 
> Jeremie
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users


More information about the Cartoweb-users mailing list