[OpenLayers-Dev] status of the Grid Strategy
Bart van den Eijnden
bartvde at osgis.nl
Wed Jun 30 11:02:29 EDT 2010
thanks. I basically got it to work, but my next challenge is getting it to work with the cluster strategy :-)
Did you / anybody ever try this?
Basically my approach would be to only add the features to the layer when all tiles have finished retrieving features, and not when each tile finishes. However I am having some trouble to get the number of tiles which are expected to redraw and comparing this to the responses retrieved. Also, I would need to optimize the grid strategy to not retrieve new features if the new bounds is contained in the previous bounds, so that it is a bit smarter in retrieving features.
I think for 3.0 we would need to do something like you did with OpenLayers.Grid in your sandbox, so that the grid code is reusable outside of Layer.Grid.
On Jun 24, 2010, at 4:49 PM, Eric Lemoine wrote:
> On Thu, Jun 24, 2010 at 12:04 PM, Bart van den Eijnden <bartvde at osgis.nl> wrote:
>> Hi list,
>> what is the status of the Grid Strategy? Is anyone using it to e.g. cache WFS responses?
>> Is this still the latest version:
> Hi Bart
> I haven't touched at the grid strategy since I started it when we were
> experimenting with vector behavior. It should work with a WFS
> protocol, with a few tweaks to make it compatible with the current
> code. Tell me if I can be of any help,
> Eric Lemoine
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
> Tel : 00 33 4 79 44 44 96
> Mail : eric.lemoine at camptocamp.com
More information about the Dev