[Users] minResolution in layerTree

Luca Casagrande luca.casagrande at gmail.com
Thu Dec 10 17:57:43 CET 2009


Hi and thanks for your answer, Andreas.
after your post I am planning to remove/add layers from the tree
according to the resolution ( the Layer Tree example is a nice
starting point).
What do you think about?

Thanks
Ciao

Luca

On Thu, Dec 10, 2009 at 5:30 PM, Andreas Hocevar <ahocevar at opengeo.org> wrote:
> 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