Make everything work, add a custom example showing doing everything custom.

This commit is contained in:
danzel
2012-07-24 14:14:27 +12:00
parent bca91c6dc9
commit 5d9b427801
5 changed files with 116 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
bindEvents: function (map, markerClusterGroup) {
var me = this;
//Zoom cluster click or spiderfy if we are at the lowest level
//Zoom on cluster click or spiderfy if we are at the lowest level
markerClusterGroup.on('clusterclick', function (a) {
if (map.getMaxZoom() === map.getZoom()) {
a.layer.spiderfy();