[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
1 changed files with 3 additions and 1 deletions

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