-
Notifications
You must be signed in to change notification settings - Fork 291
/
index.html
executable file
·49 lines (42 loc) · 2.17 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
<!doctype html>
<!--
Tangram: real-time WebGL rendering for maps
http://github.com/tangrams/tangram
http://mapzen.com/tangram
-->
<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">
<title>Tangram: WebGL for maps</title>
<link rel="stylesheet" href="demos/css/main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.2.0/leaflet.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet-geocoder-mapzen/1.9.4/leaflet-geocoder-mapzen.css">
<!-- 3rd party libraries -->
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.2.0/leaflet.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-geocoder-mapzen/1.9.4/leaflet-geocoder-mapzen.js"></script> <!-- leaflet plugin for pelias search UI -->
<script defer src="demos/lib/dat.gui.min.js"></script> <!-- lightweight GUI lib -->
<script defer src="demos/lib/FileSaver.js"></script> <!-- used in the demo to save screenshots -->
<script defer src="demos/lib/keymaster.js"></script> <!-- Keymaster handles keyboard input -->
<!-- Tangram library -->
<!-- modern browsers load the optimized .mjs file, older browsers (IE11) load the transpiled .js file -->
<script type="module" src="dist/tangram.debug.mjs"></script>
<script nomodule src="dist/tangram.debug.js"></script>
<!-- Tangram demo code -->
<script defer src="demos/main.js"></script>
<!-- Tangram demo extras -->
<script defer src="demos/app/url.js"></script> <!-- URL parsing -->
<script defer src="demos/app/key.js"></script> <!-- demo key setup -->
<script defer src="demos/app/gui.js"></script> <!-- UI for configuring map -->
<!-- Uncomment to enable WebGL stats for debugging -->
<!--
<script defer src="demos/lib/rStats.js"></script>
<script defer src="demos/lib/rStats.extras.js"></script>
<script defer src="demos/app/rStats.js"></script>
-->
</head>
<body>
<div id="map"></div>
</body>
</html>