[client] Disable auto-zoom on cluster click

This commit is contained in:
Starbeamrainbowlabs 2019-03-21 18:29:26 +00:00
parent a3647fa716
commit 840619ef0d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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() {