diff --git a/ground/views/indexTemplate.php b/ground/views/indexTemplate.php index 15ca28d..1979877 100644 --- a/ground/views/indexTemplate.php +++ b/ground/views/indexTemplate.php @@ -39,9 +39,10 @@

Карты

map Quest
-
Open Street Map
+
Генштаб от маршруты.ру
Google maps
Яндекс.Карты
+
Open Street Map
Яндекс.Карты (схема)
diff --git a/public/js/map.js b/public/js/map.js index adaa750..54fae5d 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -53,6 +53,7 @@ function init(lat, lng) { 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}); + layers['topo'] = L.tileLayer('http://maps.marshruty.ru/ml.ashx?x={x}&y={y}&z={z}&i=1&al=1', {attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Маршруты.ру', maxZoom: 15}); layers['google'] = new L.Google('HYBRID'); layers['yandexMap'] = new L.Yandex(); layers['yandex'] = new L.Yandex('hybrid');