forked from ustroetz/gimmeOSM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (40 loc) · 1.76 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
41
42
43
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>gimme OSM</title>
<script src='https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.css' rel='stylesheet' />
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="lib/jquery-1.11.3.min.js"></script>
<script src="lib/osmtogeojson.js"></script>
<script src="lib/bootstrap.min.js"></script>
<script src="lib/FileSaver.min.js"></script>
</head>
<body>
<div id='map'></div>
<div id='searchbox'>
<div class="btn-group" id="type_selector" data-toggle="buttons">
<label class="btn btn-default type-btn" data-active-class="off">
<input type="radio" class="toggle" value="node" checked autocomplete="off">Node
</label>
<label class="btn btn-default type-btn" data-active-class="off">
<input type="radio" class="toggle" value="way" autocomplete="off">Way
</label>
<label class="btn btn-default type-btn" data-active-class="off">
<input type="radio" class="toggle" value="relation" autocomplete="off">Relation
</label>
</div>
<div class="input-group">
<input type="number" id="id_input" class="form-control" placeholder="OSM ID">
<div class="input-group-btn">
<button id="find_btn" class="btn btn-default" type="button">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
</div>
</div>
</div>
<script src='scripts/main.js'></script>
</body>
</html>