[Cartoweb-users] hidding a security layer in switch dropdown

Dahinden Adrian a.dahinden at geo-thun.ch
Fri Mar 13 11:40:24 EST 2009


Hi list
 
Does anybody know, how I can hide a Layer in a switch-dropdown?
Now the layer is not available, but still visible in the dropdown. The layer should only be visible when the legitimate user is logged in. The definitions in the layers.ini file:
 
switches.switch1.label = LK Abwasser
 
layers.Kartenvorwahl_Gemeinden.className = LayerGroup
layers.Kartenvorwahl_Gemeinden.children.switch1 = LK_Abwasser
layers.Kartenvorwahl_Gemeinden.label = Kartenvorwahl_Gemeinden
 
layers.LK_Abwasser.className = LayerGroup
layers.LK_Abwasser.label = LK_Abwasser
layers.LK_Abwasser.children = LK_Abwasser_Uebersicht, LK_Abwasser_Daten
layers.LK_Abwasser.rendering = tree
layers.LK_Abwasser.metadata.security_view = lk_abwasser
 
Thanks very much for any hints.
 
Regards 
Adrian Dahinden
 
********************************************
Dütschler & Naegeli
Vermessung + Geoinformation AG
Fliederweg 11, Postfach
3601 Thun
 
Telefon 033 / 225 40 50
Fax     033 / 225 40 60
 
mailto:a.dahinden at geo-thun.ch
http://www.geo-thun.ch <http://www.geo-thun.ch/> 
********************************************
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20090313/f0aebe2a/attachment.htm 


More information about the Cartoweb-users mailing list