[OpenLayers-Users] Huge amount of data crashing browser
Eric Lemoine
eric.lemoine at camptocamp.com
Mon Nov 16 00:51:09 EST 2009
On Thursday, November 12, 2009, Pedro Baracho <pedropbaracho at gmail.com> 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 : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list