[OpenLayers-Users] Markers vs. Vector points - performance impact
aridbh
aridbh at yahoo.com
Mon Sep 12 16:49:18 EDT 2011
Hi,
I am starting a new Openlayers project and trying with few examples. If I
have to load say 500 objects, is it better to load them as Markers or Vector
points? These are going to be static elements on the map with label and
popup. Would there be any difference in the performance between the two in
terms of panning/zooming/loading etc? I know Markers might have certain
limitations wrt styles etc., but so far I am able to achieve what I need to
display with Markers.
I see in Openlayers faq that a max. of 500 markers is recommended and only
100-200 features (vector geometry points would come under this I assume) are
recommended for better performance wrt panning/zooming. So I was under the
impression markers are better in terms of performance. But everywhere the
recommendation is to use Vectors and in the latest release 2.11, it doesn't
support Markers by default, but we will need to include the Markers file
seperately if we want to use them, which makes me wonder if this is going to
be deprecated soon.
Thanks for any help,
Aridbh.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Markers-vs-Vector-points-performance-impact-tp6785200p6785200.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list