On Thursday, November 12, 2009, Pedro Baracho <[email protected]> wrote: > Hello all, > > I have huge amount of data being retrieved on a Vector Layer and it is > crashing the browser (lack of memory) when it tries rendering it. > > I am thinking of using MinResolution, MinExtent and doing some search on > current strategies to crop the data, or show the layer only in a determinate > level of zoom. > > Any suggestions?
you may be interested to look at the BBOX and Cluster strategies. The former fetches only the data that is contained by the current map extent. The latter clusters together features that are close to each other. The two strategies can be used together. cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
