[client] Disable auto-zoom on cluster click

pull/35/head
Starbeamrainbowlabs 4 years ago
parent a3647fa716
commit 840619ef0d
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 4
      client_src/js/LayerDeviceMarkers.mjs

@ -16,7 +16,9 @@ class LayerDeviceMarkers {
this.map = in_map;
// Create a new clustering layer
this.layer = L.markerClusterGroup();
this.layer = L.markerClusterGroup({
zoomToBoundsOnClick: false
});
}
async setup() {

Loading…
Cancel
Save