[Cartoweb-users] problems witn projects
Oliver Christen
oliver.christen at camptocamp.com
Mon Apr 14 02:23:20 EDT 2008
if the question is "Why the layers Uso Potencial, Uso Actual, Conflictos, Amenazas, Zonificacion, Sirap, have not checkbox", then the answser is because their parent is the root element and they are first level children. All first level children are displayed as a simple block with a border (<fieldset> to me more precise).
To solve your "problem", simply put a layerGroup between the root element and your layer, for example for your layer Uso Potencial:
...
layers.root.children = usos, conflictos, divipol, potencial_grp, actual, conflicto, amenazas, zonas,veredas,siraps
...
layers.potencial_grp.className = LayerGroup
layers.potencial_grp.label = Uso Potencial
layers.potencial_grp.children = potencial
layers.potencial.className = Layer
layers.potencial.label = Uso Potencial
layers.potencial.msLayer = usopotencialsil
regards
Oliver
----- Original Message -----
From: daniel jaimes
To: Oliver Christen
Cc: Cartoweb-users at lists.maptools.org
Sent: Friday, April 11, 2008 6:21 PM
Subject: Re: [Cartoweb-users] problems witn projects
Hello, olives, it turns out that I tried to adjust layers.ini legends, but now shows me the legends of the layers, but it does not let me select any that I do?
Http://200.21.193.190/cartoweb3/htdocs/silos.php
my layers.ini is:
; whether to generate class icons automatically
autoClassLegend = true
;nuevo
layers.root.className = LayerGroup
layers.root.children = usos, conflictos, divipol, potencial, actual, conflicto, amenazas, zonas,veredas,siraps
layers.root.rendering = block
;
layers.usos.className = LayerGroup
layers.usos.label = Usos de la tierra
layers.usos.children = potencial, actual
layers.usos.rendering = block
layers.conflictos.className = LayerGroup
layers.conflictos.label = Conflictos y Amenazas
layers.conflictos.children = conflicto, amenazas
layers.conflictos.rendering =block
layers.divipol.className = LayerGroup
layers.divipol.label = Clasificaciones
layers.divipol.children = zonas,veredas,siraps
layers.divipol.rendering =block
layers.potencial.className = Layer
layers.potencial.label = Uso Potencial
layers.potencial.msLayer = usopotencialsil
layers.actual.className = Layer
layers.actual.label = Uso Actual
layers.actual.msLayer = usoactualsil
layers.conflicto.className = Layer
layers.conflicto.label = Conflictos
layers.conflicto.msLayer = conflictossil
.......
------------------------------------------------------------------------------
¿Con Mascota por primera vez? - Sé un mejor Amigo
Entra en Yahoo! Respuestas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080414/d25187e6/attachment.html
More information about the Cartoweb-users
mailing list