[OpenLayers-Dev] status of the Grid Strategy

Eric Lemoine eric.lemoine at camptocamp.com
Wed Jun 30 12:53:25 EDT 2010


On Wed, Jun 30, 2010 at 5:02 PM, Bart van den Eijnden <bartvde at osgis.nl> wrote:
> Hi Eric,
>
> 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?

No. The last time I played with it the cluster strategy didn't exist :-)

>
> 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.

That'd indeed be great.




-- 
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
http://www.camptocamp.com



More information about the Dev mailing list