We would like to implement the function of Addfeature in openlayers to draw lines and push them onto a vector layer, and overlay this layer onto open street map or google map. Those lines are draw dynamically based on the query results from the database.
The only concern so far is the performance issue since we are anticipating about 3000 lines per operation. Has anyone worked on this kind of project before? Do you think it is too heavy on the client side?



Definitely heavy on the client side. On average, how many vertices per features? You will definitely tax older browsers.

A little while back I put together a simple app for an arbitrary number of points in an OpenLayers app as a response to a previous question. Might be helpful for you to gauge performance with large number of graphics.

| improve this answer | |
  • link to arbitrary points app is no longer working – Simon Clough Nov 1 '19 at 14:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.