-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (42 loc) · 1.92 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
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>Public Map</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<!-- Mapbox Assembly -->
<link href='https://api.mapbox.com/mapbox-assembly/v0.22.0/assembly.min.css' rel='stylesheet'>
<script async defer src='https://api.mapbox.com/mapbox-assembly/v0.22.0/assembly.js'></script>
<!-- Mapbox GL -->
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.css' rel='stylesheet' />
<link href='./js/mapboxgl-tools/dist/mapbox-gl-tools.css' rel='stylesheet' />
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
</head>
<body>
<!-- Class names are from assembly.js for styling -->
<div class='viewport-full relative clip'>
<div class='viewport-twothirds viewport-full-ml relative'>
<div id='map' class='absolute top left right bottom'></div>
</div>
<div class='absolute top-ml left z1 w-full w300-ml py12-ml px12-ml'>
<div class='viewport-third h-auto-ml hmax-full bg-white round-ml shadow-darken5 scroll-auto'>
<div class='py12 px12 scroll-auto'>
<h2 class='txt-xl txt-bold mx6 my6'>Public Map</h2>
<p class='mx6'>Choose a map or <a class='link' href="https://github.com/publicmap/publicmap.github.io/">build one</a>.</p>
<h3 class='txt-m py6 txt-bold mx6'>Map</h3>
<div class='select-container'>
<select id='select-map' class='select'>
<option value='default'>Public Map</option>
<option value='planemad/cj8ul75i275p52rogvewe4xiu'>Water flow</option>
</select>
<div class='select-arrow'></div>
</div>
</div>
</div>
</div>
<!-- App script -->
<script src='./js/dist/publicmap.js'></script>
</body>
</html>