From 4344f1d06a879859c982e7d168edb32b344795a6 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Fri, 19 Aug 2016 11:18:24 +0300 Subject: [PATCH] ADD subdomains to sputnik-tiles --- 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 4e7a238..a5cf646 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -70,7 +70,7 @@ function init(lat, lng) { L.control.scale({imperial: false}).addTo(myMap); // 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['sputnik'] = L.tileLayer('https://topo.wikipoints.ru/sputnik/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, Sputnik, 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}); layers['osm'] = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA | Points data © WIKIPOINTS.RU', maxZoom: 18}); layers['topo'] = L.tileLayer('https://topo.wikipoints.ru/?z={z}&x={x}&y={y}&ver=0216', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Маршруты.ру | Points data © WIKIPOINTS.RU', maxZoom: 15}); layers['google'] = new L.Google('HYBRID');