mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
Make everything work, add a custom example showing doing everything custom.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user