forked from sghall/webgl-globes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_4_interactive_globe.html
35 lines (34 loc) · 1.12 KB
/
example_4_interactive_globe.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
<!DOCTYPE html>
<html>
<head>
<title>Interactive Maps - WebGL Demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="info">
<h3>Interactive Maps - WebGL Demo</h3>
<div id="msg">Mouseover a country...</div>
<div>Click to rotate the globe</div>
</div>
<div id="loading">Loading...</div>
<script src="node_modules/babel-core/browser-polyfill.js"></script>
<script src="node_modules/babel-core/browser.js"></script>
<script src="node_modules/es6-module-loader/dist/es6-module-loader.js"></script>
<script src="node_modules/systemjs/dist/system.js"></script>
<script>
System.config({
baseURL: '/',
map: {
d3: 'node_modules/d3/d3',
THREE: 'node_modules/three/three',
topojson: 'node_modules/topojson/build/topojson',
SubUnit: 'node_modules/src/index'
},
transpiler: 'babel'
});
System.import('js/main');
</script>
</body>
</html>