There is a min and max scale associated with a Rule; should do the trick.

Jody

On 13/05/2010, at 4:45 AM, Enamul wrote:

> 
> I'm not sure if you guys remember me, I was pretty active on this list as I
> was upgrading from 2.1 to 2.4 [that was quite a bit of pain]. Now we just
> upgraded to 2.6.3 :)
> 
> Problem: I have a map pane (ZoomPane to be precise) that has multiple layers
> on it. What I'd like to do is turn off certain layers based on zooming
> distance. How can this be achieved with filters in styles (if possible at
> all) ? Currently, I do it just by implementing a zoom change listener that
> turns off the layer automatically based on preconfigured thresholds.
> 
> Cheers,
> Enamul 
> -- 
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Filter-to-turn-off-certain-layers-tp5042686p5042686.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to