Re: many markers on a map
There used to be a trick that allowed markers to be created quickly all
at once, but now the standard API runs just as fast adding them one by
one.
Many people have considered lots of different tricks for plotting large
numbers of markers more quickly, with little success. The bottom line is
that you have to reduce the number of actual markers that get
addOverlay()ed onto the map. You can achieve that by selecting a few
actual markers from your list or by using "cluster" markers to represent
a bunch of locations which then expand into individual markers as you
zoom in.
Be warned. Version 2 plots large numbers of markers significantly more
slowly, so plan ahead and reduce the number of markers even more.
Using smaller icons with no shadows can help slightly.
--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/
0 Comments:
Yorum Gönder
<< Home