[OpenLayers-Users] Question on controlling WFS layer based on scale

Eric Lemoine eric.c2c at gmail.com
Fri Feb 6 01:20:10 EST 2009


Hi

In principle you can control this with maxResolution and/or
minResolution options set in the layer. Though I'm not sure how a
Layer.WFS will behave in that case - will it stop fetching features
from the server when it's out-of-range? We can hope so...

Cheers,

Eric

2009/2/5, Stephen Woodbridge <woodbri at swoodbridge.com>:
> Hi,
>
> I want to have a WFS layer but I'm thinking that I need to control when
> it is active based on scale so I don't get too many polygons back. What
> is the best way to do this? Can it be handled in OpenLayers? are there
> other strategies for this like does UMN mapserver honor maxscaledenom on
> wfs requests. I guess I'll try that to see if it works.
>
> Other thoughts?
>
> -Steve W
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list