Everytime I make zoom I need to redraw my vector layer but I'm rendering all of them (2000) so it goes so slow, how can I render just the ones that are viewed? Or how I can speed up OL?
If your use case is such that you're only showing a small subset of points in the viewport, maybe OpenLayers.Strategy.BBOX strategy would help?
It detects when your map's extent has changed, and re-requests the features. If your server-side program can send only features within the stated bbox, and the download time is faster than the redrawing time, this may be what you want.
-- Greg Allensworth, Web GIS Developer BS A+ Network+ Security+ Linux+ Server+ GreenInfo Network - Information and Mapping in the Public Interest 564 Market Street, Suite 510 San Francisco CA 94104 PH: 415-979-0343 x302 FX: 415-979-0371 email: [email protected] Web: www.GreenInfo.org www.MapsPortal.org Subscribe to MapLines, our e-newsletter, at www.GreenInfo.org _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
