-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
29 lines (29 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.js"></script>
<script src="config.js"></script>
<script src="app.js"></script>
<script src="data/out.js"></script>
<!-- <script src="walk.js"></script> -->
<!-- <script src="idle.js"></script> -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/maplibre-gl.css" type="text/css" />
<link rel="stylesheet" href="app.css" type="text/css" />
</head>
<body class="normal">
<div id="ctrl" style="display:none">
<select onchange="selectMap(event.target.value)">
<option>standard</option>
</select> map |
<span id="ctrl-data"><select onchange="downloadData(event.target.value); event.target.value = 'data'">
<option>data</option>
<option>csv</option>
<option>kml</option>
<option>json</option>
</select> | </span>channel <select id="filter-channel" onChange="filterChannel(event.target.value)"><option>all</option></select> | <a href="compass">phone 🧭</a> | <a onclick="toggleFind()">find</a><div id="ff"> <input placeholder="node name or address" onchange="findNode(event.target.value)"/></div> | <a onclick="toggleMeasure()">measure</a><div id="mm"> <div id="mb">---</div>° <div id="md">--.-</div> miles</div>
</div>
<div id="key" style="display:none"></div>
<div id="map"></div>
</body>
</html>