mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Move defaults in and make them proper options like in leaflet. Removes silly .Default file
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user