[Users] minResolution in layerTree

Andreas Hocevar ahocevar at opengeo.org
Thu Dec 10 17:30:43 CET 2009


Hi,

when a layer changes from in range to out of range and vice verse,
GeoExt does not know about it. The OpenLayers layerswitcher listens to
the zoomend event of the map and walks through all layers, graying the
ones out of range out. We don't have this "grayed out" state for GeoExt
layer nodes.

Have you tried the LegendPanel? I think the LegendPanel only shows
layers that are in range.

Regards,
Andreas.

On 2009-12-10 15:31, Luca Casagrande wrote:
> Hello folks,
> moving my application from OpenLayers to GeoExt I had a problem with
> the maxResolution/minResolution attribute for a WMS layer:
> also if the mapPanel show the layer according to the resolution, in
> the layerTree it's always checked.
> Is there a way to "disable" an overlay layer using resolution values?
>
> Thanks
> Ciao
>
> Luca
> _______________________________________________
> 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