biodiv / anycluster

Server-side clustering of map markers for (Geo)Django
MIT License
107 stars 21 forks source link

(JS) Marker with label broken with latest google maps api update #8

Closed biodiv closed 10 years ago

biodiv commented 10 years ago

The MarkerWithLabel (external code) in the javascript is broken and has to be replaced. It massively slowed down the clusterer anyway. If you need a replacement JS, take the one from https://www.anymals.org/static/anycluster/gmap_clusterer.js until I upload a new and cleaned up version.

dirkmb commented 10 years ago

thanks for the hint! I've debugged quite some time to figure out why my map is broken... one question: can I also use the new images from anymals.org?

biodiv commented 10 years ago

Sure! I also uploaded them to this repository for easier downloading.

biodiv commented 10 years ago

Another workaround provided by lmorroni is to set the google maps api to an older version:

<script src="https://maps.googleapis.com/maps/api/js?v=3.15&key=API_KEY&sensor=SET_TO_TRUE_OR_FALSE"></script>
wrestleryoung commented 10 years ago

Thanks for your advice. Great work!!

biodiv commented 10 years ago

you can now replace markerwithlabel with anycluster_marker.js which works with the latest api