diff --git a/public/js/mapPoint.js b/public/js/mapPoint.js index 0f04f7e..54d76ed 100644 --- a/public/js/mapPoint.js +++ b/public/js/mapPoint.js @@ -43,9 +43,10 @@ function init(lat, lng) { markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 45}); // layers['quest'] = L.tileLayer('https://otile1-s.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['osm'] = L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA | Points data © WIKIPOINTS.RU', maxZoom: 18}); +// layers['osm'] = L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA | Points data © WIKIPOINTS.RU', maxZoom: 18}); + layers['sputnik'] = L.tileLayer('https://{s}.sputnik.wikipoints.ru/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, Sputnik, CC-BY-SA | Points data © WIKIPOINTS.RU', maxZoom: 18}); - setLayer('osm'); + setLayer('sputnik'); initPoints()