From 31217201c64550480c5171e253fd5401f397f2f2 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Sat, 20 Feb 2016 12:33:37 +0300 Subject: [PATCH] HOT FIX MAP --- public/js/mapPoint.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/mapPoint.js b/public/js/mapPoint.js index 67c5e45..1b4b6d2 100644 --- a/public/js/mapPoint.js +++ b/public/js/mapPoint.js @@ -45,7 +45,8 @@ function init(lat, lng) { myMap = L.map('map', {zoomControl: true}).setView([lat, lng], defaultZoom); 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 | Points data © WIKIPOINTS.RU', maxZoom: 18}); +// 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 | Points data © WIKIPOINTS.RU', maxZoom: 18}); + layers['quest'] = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA | Points data © WIKIPOINTS.RU', maxZoom: 18}); setLayer('quest');