I am using MarkerCluster_compiled.js from github. But while the logic works, its graphics started failing from yesterday.
The problem seems to be caused by \"https:
Download markerclusterer.js
and the images m1.png
to m5.png
from Github https://github.com/googlemaps/js-marker-clusterer/tree/gh-pages/images and save them locally, like this:
index.html
markerclusterer.js
images/
- m1.png
- m2.png
- m3.png
- m4.png
- m5.png
Then when using markerclusterer.js
, set imagePath
to ìmages/m
like this:
var mc = new MarkerClusterer(map, makers, {imagePath: 'images/m'});
Why you should use it like described above: