-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathindex.html
94 lines (89 loc) · 3.32 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>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"/>
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="x5-fullscreen" content="true">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<title>Virtual Earth</title>
<link href="./Build/Cesium/Widgets/widgets.css" rel="stylesheet">
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/flat-ui.min.css" rel="stylesheet">
<link href="./css/bootstrap-treeview.min.css" rel="stylesheet">
<link href="./css/se.css" rel="stylesheet">
<style>
html, body, #cesiumContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
background: #000;
color: #eee;
font-family: sans-serif;
font-size: 10pt;
}
</style>
</head>
<body>
<div id="cesiumContainer">
</div>
<a href="https://github.com/iWun/3d-earth-visualization"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div id="loadOverlay" class='loadingOverlay'>
<ul id="loadbar" class="ins">
<li>
<div id="loadinglayer1" class="ball"></div>
<div id="loadinglayer7" class="pulse"></div>
</li>
<li>
<div id="loadinglayer2" class="ball"></div>
<div id="loadinglayer8" class="pulse"></div>
</li>
<li>
<div id="loadinglayer3" class="ball"></div>
<div id="loadinglayer9" class="pulse"></div>
</li>
<li>
<div id="loadinglayer4" class="ball"></div>
<div id="loadinglayer10" class="pulse"></div>
</li>
<li>
<div id="loadinglayer5" class="ball"></div>
<div id="loadinglayer11" class="pulse"></div>
</li>
</ul>
</div>
<script>
/* var loadingInterval = setInterval(function(){
var loadingBar = document.getElementById('loadbar');
loadingBar.className = "";
setTimeout(function(){
loadingBar.className = "ins"
},10);
},3500); */
Window.LOADING_FLAG = true;
var loadingBar = document.getElementById('loadbar');
var oldTime = new Date().getTime();
var dTime;
function run() {
var curTime = new Date().getTime();
if (curTime - oldTime >= 3500) {
loadingBar.className = "";
if (curTime - oldTime >= 3550) {
loadingBar.className = "ins";
oldTime = curTime;
}
}
if (Window.LOADING_FLAG == true) {
requestAnimationFrame(run);
}
}
requestAnimationFrame(run);
</script>
<script src="js/lib/require.min.js" data-main="js/index"></script>
</body>
</html>