开发者

OpenLayers.Layer.Text and bounding box

I would like to display a lot of point (300/400) in IE with popup on them on a map. I tried to use 开发者_StackOverflowOpenLayers.Layer.Vectors, it works but is far too slow. So I tried OpenLayers.Layer.Text, but this one doesn't seem to send the BBOX parameter. So I presume I should send back the file containing all the points of the map but that's something like 35000 points ...

Have you ever done with that much point, is it still fast enough ?

Is there another way to be able to do this ? (I'm using my own server to respond to WMS and Vector layer and using an external server like mapguide or other is not an option).

Thanks a lot for answer!


35000 points is a lot of data for a Vector layer. From my experience displaying more than couple of hundreds of points almost always causes performance issues in Internet Explorer.

Typical solution in situation when you have a lot of data is to display it in a WMS layer and use WMSGetFeatureInfo or usual WFS search to fetch information about features.


If you don't need to edit those points, you can create a WMS layer.

We use some maps with 300 points rendered in a vector layer without performance issues.

Try to use firefox or chrome because with IE openlayers uses a slower renderer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜