Saturday, January 6, 2018

Too many markers in Google Maps

Too many markers in Google Maps


When creating an application with the Google Maps Api I, as many, stumbled upon the problem of having too many markers on a maps. In some cases over 1000. On the web there are some good solutions.

Heres a blog with some solutions. I decided to try MarkerClusterer, which was added later to the article. The screenshots look good and it should work fine for my project.

Heres a blog of the creator of MarkerClusterer. It describes the use briefly.

A real good example of simple use, excellent to start out with, is over here. It shows the url of the script to include and how to display a bunch of markers on the map.

When youre somehow familiar with Google Maps and the MarkerClusterer, heres a good advanced example. The source code describes how to use the advanced setting, for example how to show your own markers instead of the colored circles that are standard for MarkerClusterer.

With these links, you should be able to create some nice applications.

visit link download