mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-25 06:53:00 +00:00
[client] Disable auto-zoom on cluster click
This commit is contained in:
parent
a3647fa716
commit
840619ef0d
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ class LayerDeviceMarkers {
|
||||||
this.map = in_map;
|
this.map = in_map;
|
||||||
|
|
||||||
// Create a new clustering layer
|
// Create a new clustering layer
|
||||||
this.layer = L.markerClusterGroup();
|
this.layer = L.markerClusterGroup({
|
||||||
|
zoomToBoundsOnClick: false
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async setup() {
|
async setup() {
|
||||||
|
|
Loading…
Reference in a new issue