diff --git a/public/js/map.js b/public/js/map.js index a910370..bfccb70 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -63,7 +63,7 @@ ymaps.ready(function () { */ function init(lat, lng) { myMap = L.map('map', {zoomControl: false}).setView([lat, lng], defaultZoom); - markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 45}); + markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 30}); layers['quest'] = L.tileLayer('http://otile1.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', maxZoom: 18}); layers['osm'] = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery ©', maxZoom: 18});