Move defaults in and make them proper options like in leaflet. Removes silly .Default file

This commit is contained in:
danzel
2012-07-26 11:18:12 +12:00
parent b2e4fe2a81
commit 3449fabc8c
10 changed files with 223 additions and 207 deletions
+3 -1
View File
@@ -45,7 +45,9 @@
maxClusterRadius: 120,
iconCreateFunction: function (count) {
return new L.DivIcon({ html: count, className: 'mycluster', iconSize: new L.Point(40, 40) });
}
},
//Disable all of the defaults:
spiderfyOnMaxZoom: false, showCoverageOnHover: false, zoomToBoundsOnClick: false
});