[Cartoweb-users] layer dependings
oliver.christen at camptocamp.com
Mon Apr 2 07:47:38 EDT 2007
maybe make a layergroup with the "aggregate" parameters, which allow to bind
two layers together.
and set the second layer as hidden.
this way, when you activate/deactivate the parent groups, it should
activate/deactivate both child layers?
> how to set depending of layer please?
> There is layer "1" and layer "2".
> Layer "2" is hidden in legend, but fully depend on layer "1"
> I need to de/activate layer "2" when is de/activated layer "1".
> Is it possible?
> I try "LayerGroup" with hidden children in project.ini
> mapInfo.initialMapStates.default.layers.myHiddenLayer.hidden = true
> but this solution is not very happy.
> It doesn't work properly.
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
More information about the Cartoweb-users