3

I have a OpenLayers map which by enabling a feature by user, a very huge table of polygons (lots of small areas, with information and metadata for each) will appear on the map, which rendering this big amount of data is very slow and zooming in and out is kind of miserable.

Do you know any solution to this problem?

I was thinking of converting these polygons to tiles, which of course if possible, will not show any information for areas. But when the user reaches a certain zoom level, map starts showing information for areas, in case that area is being clicked by user. What I mean is behaving like tiles before a certain zoom level, and after that, behaving like polygons.

I will appreciate any suggestion to the problem itself, or to my (maybe crazy) proposed idea.

1
  • 1
    try to serve your polygon features as wms service. it will help you for performance. good luck :)
    – urcm
    Feb 6, 2013 at 13:52

1 Answer 1

2

You can e.g. use a WMS server like GeoServer for dynamic tile generation, or use something like MapTiler for static tiles. The "Combine OGC Services Wisely" section on http://ol-performance.appspot.com/ should give you an idea on how to combine local vector rendering with tiles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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