-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·94 lines (81 loc) · 2.85 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!doctype html>
<!--
Tangram: real-time WebGL rendering for OpenStreetMap
http://github.com/tangrams/tangram
http://mapzen.com
-->
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>~</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.2/leaflet.css" />
<!-- p5js -->
<script language="javascript" type="text/javascript" src="p5.js"></script>
<script language="javascript" src="p5.dom.js"></script>
<!-- fonts -->
<link href='https://fonts.googleapis.com/css?family=Arvo:700' rel='stylesheet' type='text/css'>
<style>
body {
margin: 0px;
border: 0px;
padding: 0px;
}
iframe {
width: 100%;
height: 100%;
z-index: 2;
}
#text {
height: auto;
width: 45%;
left: 5%;
top: 10%;
position:absolute;
z-index: 4;
/*background-color: #999999;
color: #3b3b3b;
*/
background-color: white;
color: #808080;
font-size: 3em;
font-family: "Arvo", sans-serif;
padding: 20px;
/*text-shadow: -0.05em 0.05em #bdbdbd;*/
}
#map {
height: 100%;
width: 100%;
position: absolute;
z-index: 0;
/*background-color: white;*/
}
.hidden {
visibility: hidden;
opacity: 0;
-webkit-transition: visibility 0s 1s, opacity 1s linear;
transition: visibility 0s 1s, opacity 1s linear;
}
.visible {
visibility: visible;
opacity: 1;
}
</style>
</head>
<body>
<div id="map"; >
<iframe src="https://player.vimeo.com/video/138878210?autoplay=1&color=fafafa&title=0&byline=0&portrait=0" width="900" height="506" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
<!-- leaflet -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.2/leaflet.js"></script>
<!-- Main tangram library -->
<!--script src="https://mapzen.com/tangram/0.5/tangram.min.js"></script-->
<script src="tangram.debug.js"></script>
<!-- put p5js stuff at the end, draw on top -->
<!-- All the mapzen and leaflet stuff is in the js file-->
<script language="javascript" type="text/javascript" src="text-array.js"></script>
<script language="javascript" type="text/javascript" src="map-overlay.js"></script>
</body>
</html>