Skip to content

Commit 4a2c0de

Browse files
authored
fix(map): Increase maxZoom level (#437)
Increase maxZoom level to better support selecting devices that are only a few meters apart fix #436
1 parent 5f11497 commit 4a2c0de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/leaflet.directive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
var map = new L.map(element[0], {
4242
minZoom: 2,
43-
maxZoom: 18,
43+
maxZoom: 25,
4444
worldCopyJump: true,
4545
scrollWheelZoom: true
4646
}).setView([51.04139389812637, 10.2172851562], 3);
@@ -51,7 +51,7 @@
5151
var mcg = L.markerClusterGroup({
5252
maxClusterRadius: 2 * rmax,
5353
iconCreateFunction: defineClusterIcon,
54-
disableClusteringAtZoom: 17,
54+
disableClusteringAtZoom: 24,
5555
spiderfyOnMaxZoom: false,
5656
showCoverageOnHover: false,
5757
chunkedLoading: true

0 commit comments

Comments
 (0)