[OpenLayers-Users] Question on controlling WFS layer based on
woodbri at swoodbridge.com
Fri Feb 6 01:56:44 EST 2009
I will give it a try in the morning when my head is a little more awake
and I'll report back.
Eric Lemoine wrote:
> 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...
> 2009/2/5, Stephen Woodbridge <woodbri at swoodbridge.com>:
>> 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
More information about the Users