[OpenLayers-Dev] refreshing a vector layer with a fixed strategy

bartvde at osgis.nl bartvde at osgis.nl
Wed Feb 11 04:27:48 EST 2009


Hi ivan,

I can't use BBOX since in WFS Filter and BBOX are mutually exclusive.

Best regards,
Bart

> Hi,
>  i think that strategy.fixed is very basic, and it serves only to load
> features once. have you tried to play with bbox/grid strategies?
>
> cheers
>
> On Wed, Feb 11, 2009 at 10:17 AM,  <bartvde at osgis.nl> wrote:
>> Hi list,
>>
>> I have a vector layer with a Fixed strategy. If the filter updates (the
>> filter is sent to the WFS using Protocol.WFS), I want to refesh the
>> layer,
>> but the Fixed strategy does not listen to the refresh event of the
>> layer.
>> Is this intentional or a bug? Or am I missing something here?
>>
>> Also, the Fixed strategy always seems to merge the new features with the
>> existing ones, but I want it to override the existing features with the
>> new ones. How to go about this, make it an option of the Strategy?
>>
>> TIA for any insight.
>>
>> Best regards,
>> Bart
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>>
>
>
>
> --
> Ivan Grcic
>





More information about the Dev mailing list