From 114233ea5b72a9bc7c21d45447f6efe8eae489bf Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Mon, 7 Jul 2014 10:59:38 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D0=B4=D0=B8=D1=83=D1=81=20=D0=BA?= =?UTF-8?q?=D0=BB=D0=B0=D1=81=D1=82=D0=B5=D1=80=D0=B8=D0=B7=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/map.js b/public/js/map.js index 34818f0..dd6a915 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -41,7 +41,7 @@ ymaps.ready(function(){ */ function init(lat, lng) { myMap = L.map('map',{zoomControl: false}).setView([lat, lng], 11); - markers = new L.MarkerClusterGroup({showCoverageOnHover: false}); + markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 45}); 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});