-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (40 loc) · 1.63 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<link rel="stylesheet" href="css/style.css">
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script type="text/javascript" src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script>
<script type="text/javascript" src="js/script.js"></script>
<title>GPX to Maps</title>
</head>
<body>
<table class="container">
<tr class="toolbar">
<td>
<input id="loadFile" type="file" multiple>
<button id="clearMap">Очистить</button>
<select id="town" title="Город">
<option value="Moscow">Москва</option>
</select>
<button id="centerMap">Центрировать</button>
<span>
<label><input name="map" type="radio" value="yandex" title="Карта" checked>Яндекс.Карты</label>
<label><input name="map" type="radio" value="osm" title="Карта">OpenStreetMap</label>
</span>
</td>
</tr>
<tr class="map">
<td>
<div class="map" id="yandexMap"></div>
<div class="map hidden" id="osmMap"></div>
</td>
</tr>
</table>
</body>
</html>