-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (65 loc) · 3.57 KB
/
index.html
File metadata and controls
76 lines (65 loc) · 3.57 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta http-equiv='x-ua-compatible' content='ie=edge'>
<meta name='description' content='OpenStreetMap Navigation Data Map'>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no'>
<title>OpenStreetMap Navigation Data Map</title>
<!-- mapbox gl -->
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.21.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.21.0/mapbox-gl.css' rel='stylesheet'>
<!-- mapbox geocoder -->
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v1.3.0/mapbox-gl-geocoder.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v1.3.0/mapbox-gl-geocoder.css' rel='stylesheet'>
<!-- mapillary js -->
<script src='https://unpkg.com/mapillary-js@2.5.2/dist/mapillary.min.js'></script>
<link rel='stylesheet' href='https://unpkg.com/mapillary-js@2.5.2/dist/mapillary.min.css'>
<!-- styles -->
<link href='https://www.mapbox.com/base/latest/base.css' rel='stylesheet'>
<link href='index.css' rel='stylesheet'>
<!-- jquery -->
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script>
</head>
<body>
<!--[if lt IE 8]>
<p class='browserupgrade'>You are using an <strong>outdated</strong> browser. Please <a href='http://browsehappy.com/'>upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class='header dark'>
<h3 class='fancy'>OpenStreetMap Navigation Data Map</h3>
<p>Create an open database of navigation data in your city. See <a href='https://github.com/mapbox/osm-navigation-map/blob/gh-pages/README.md'>instructions</a> on how to use this tool to <a href='http://wiki.openstreetmap.org/wiki/Relation:restriction'>map turn restrictions</a>.</p>
</div>
<div class='col12 clearfix'>
<div id='map'></div>
<div id='user'></div>
<div id='logout' class='short button'>Logout</div>
<div id='geocoder-container'></div>
<div style='position: absolute; bottom: 0'>
<div class='pad1'>
<div id='mly' style='width: 320px; height: 240px'></div>
</div>
<div class='pill pad1 toggles'>
<a href='#' id='tileBoundaryLayer' class='col12 button stroke'>Tile Boundary (z10+)</a>
<a href='#' id='turn-restrictions' class='col12 button stroke hidden'>Turn Restrictions <span class='micro' id='turn-restriction-count'></span></a>
<a href='#' id='oneways' class='col12 button stroke'>Oneways <span class='micro' id='oneway-count'></span></a>
<!--
<a href='#' id='turn-lanes' class='col12 button stroke'>Turn Lanes <span class='micro' id='turn-lanes-count'></span></a>
<a href='#' id='traffic-signals' class='col12 button stroke'>Traffic Signals <span class='micro' id='traffic-signals-count'></span></a>
<a href='#' id='maxspeed' class='col12 button stroke'>Speed Limits <span class='micro' id='maxspeed-count'></span></a>
-->
<a href='#' id='mapillary' class='col12 button stroke'>Mapillary Street Photos</a>
</div>
</div>
<div id='restrictionValidator' class='short button'>Restriction Validator</div>
<div id='feature-stats' class='dark'>
<ul>
<li>Reviewed <span data-count-feature='total'></span></li>
<li>Valid <span data-count-feature='valid'></span></li>
<li>Redundant <span data-count-feature='redundant'></span></li>
<li>Invalid <span data-count-feature='invalid'></span></li>
</ul>
</div>
</div>
<script src='build.js'></script>
</body>
</html>