Browse Source

Fix missing clustering change on minimap

Baptiste Jonglez 7 years ago
parent
commit
cc57880556
1 changed files with 2 additions and 1 deletions
  1. 2 1
      panorama/templates/panorama/view.html

+ 2 - 1
panorama/templates/panorama/view.html

@@ -64,7 +64,8 @@
       var markerClusters = L.markerClusterGroup({
           spiderfyOnMaxZoom: false,
           showCoverageOnHover: false,
-          maxClusterRadius: 20
+          maxClusterRadius: 20,
+          disableClusteringAtZoom: 19
       });
       var panoIcon = L.icon({
           iconUrl: '{% static "panorama/img/marker-red.png" %}',