googlearchive / js-marker-clusterer

A marker clustering library for the Google Maps JavaScript API v3.
https://googlemaps.github.io/js-marker-clusterer/docs/reference.html
Apache License 2.0
1.28k stars 775 forks source link

markerclusterer_compiled removed? #74

Open 7ssaa opened 8 years ago

7ssaa commented 8 years ago

markerclusterer_compiled removed?

PeterTheOne commented 8 years ago

Yes, in 2f659a3

Znerox commented 7 years ago

Edit: apparently the urls must be copy-pasted to work

When the code was hosted on googlecode it was possible to use it right out of the box, but not anymore. It's possible to include it via this url https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer.js, but it's not loading the images (m1-m4) https://raw.githubusercontent.com/googlemaps/js-marker-clusterer/gh-pages/images/m1.png, the browser is instead trying to load it from the domain where the map is loaded from. There should be an up-to-date version hosted on github that works right out of the box.

PeterTheOne commented 7 years ago

@Znerox: The correct usage is to download the images from github and include them in your own site, otherwise if something changes on github the images are not loaded anymore.