From bc0deaf64fcef5eb7b5c09aabfc41d0b35131b77 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Thu, 21 May 2015 14:56:45 +0300 Subject: [PATCH] =?UTF-8?q?ADD=20=D1=82=D0=BE=D0=BF=D0=BE=D0=B3=D1=80?= =?UTF-8?q?=D0=B0=D1=84=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B8=D0=B5=20=D0=BA?= =?UTF-8?q?=D0=B0=D1=80=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/views/indexTemplate.php | 3 ++- public/js/map.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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');