[OpenLayers-Users] Features not drawn - I have tons of
features, some features not alwyas drawn - when panned into map
JK Chen
jk.chen at sdl.usu.edu
Fri Jun 10 17:35:40 EDT 2011
Hi,
It's me again. If I zoom in or out at those non-drawn rectangles, the draw will occur. Note that codes that create these features have been executed right after the page loads.
Thanks.
JK
From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of JK Chen
Sent: Friday, June 10, 2011 2:57 PM
To: openlayers-users at lists.osgeo.org
Subject: [OpenLayers-Users] Features not drawn - I have tons of features, some features not alwyas drawn - when panned into map
Hi,
My program creates 2000 markers, each associated with a polygon, which represents the area of an aerial image.
When I pan the map, the features that now go in the viewport are not always get drawn. If I click on the vector layer Select item in the switcher control, then they are drawn after clicking on the switcher.
1. What could cause the problem of no-drawing?
2. I noticed noticeable performance latency. Any idea how to improve or how to design when dealing with thousands (could be tens of thousands) of markers/polygons?
Thanks for your help.
JK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110610/1fde98ab/attachment.html
More information about the Users
mailing list