[Users] Checkboxes in Tree

Andreas Hocevar ahocevar at opengeo.org
Fri Sep 18 18:40:23 CEST 2009


Hi,

Sascha Müller wrote:
> I want to display Baselayers depending from the scale.
> If I use radioButtons, the user has to change the Baselayer manually.
> With checkBoxes, every Baselayer can active and I can make it with Sld.
>
> So, how can I change the radioButton into checkBoxes in the tree?
>   

You cannot, because having multiple base layers visible at a time will 
break things in OpenLayers. One thing you could try: Dont't control your 
base layer visibility by SLD, but by minResolution and maxResolution in 
the layer object.

Regards,
Andreas.

> Thanks
>
> Sascha
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list