-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (39 loc) · 997 Bytes
/
index.html
File metadata and controls
47 lines (39 loc) · 997 Bytes
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
<!-- Leaflet reference: http://leafletjs.com/reference.html -->
<!-- Omnivore reference: https://github.com/mapbox/leaflet-omnivore -->
<!DOCTYPE html>
<head>
<style>
body {
padding: 0;
margin: 0;
height: 100%;
}
html,
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.legend {
line-height: 18px;
color: #888;
}
.legend i {
width: 28px;
height: 12px;
float: left;
margin-right: 8px;
opacity: 0.9;
}
</style>
<title> Moves Data </title>
<script src='https://api.mapbox.com/mapbox.js/v3.0.1/mapbox.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v3.0.1/mapbox.css' rel='stylesheet'>
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.3.1/leaflet-omnivore.min.js'></script>
</head>
<body>
<div id="map"></div>
<script src='script.js'></script>
</body>
</html>