[Cartoweb-users] Children Switching
Oliver Christen
oliver.christen at camptocamp.com
Tue Feb 17 02:16:43 EST 2009
hi
maybe add
layers.Switch.children.default = ZP
regards
Oliver
----- Original Message -----
From: "Dahinden Adrian" <a.dahinden at geo-thun.ch>
To: <cartoweb-users at lists.maptools.org>
Sent: Monday, February 16, 2009 4:36 PM
Subject: [Cartoweb-users] Children Switching
Hi list
In my Project I want to use switches for displaying the layers. I have
changed the layers.ini file like it is described in the User Manual
(http://www.cartoweb.org/doc/cw3.5/xhtml/user.layers.html#user.layers.tree.children).
It looks like
switches.switch1.label = ZP
switches.switch2.label = LK
switches.switch3.label = GK
layers.root.className = LayerGroup
layers.root.children = Abfragen, Sit, Switch, ...
layers.root.rendering = block
layers.Switch.className = LayerGroup
layers.Switch.children.switch1 = ZP
layers.Switch.children.switch2 = LK
layers.Switch.children.switch3 = GK
layers.Switch.label = Switch
layers.ZP.className = Layer
layers.ZP.label = Zonenplan
layers.ZP.msLayer = ZP
etc.
In the layertab the switch appears as a dropdown with following Switch Ids:
'Default', 'ZP', 'LK' and 'GK'
The position should be the default one (above the layers tree). The label
'Switch' appears as a block and a tree rendering without any content. When I
choose a other Switch ID (f.e. LK ) the content of the tree doesn't change.
Does anybody know why it isn't working?
Are there other things I have to change??
Thanks for your help,
Regards
Adrian Dahinden
Dütschler & Naegeli
Vermessung und Geoinformation AG
Fliederweg 11
Postfach
3601 Thun
Tel 033 225 40 50
Fax 033 225 40 60
Email mailto:a.dahinden at geo-thun.ch
Homepage www.geo-thun.ch
_______________________________________________
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