forked from abwood/d3cesium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (53 loc) · 2.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Cesium + d3 Data Visualization</title>
<script type="text/javascript" src="3rdParty/jquery-ui-1.10.3/jquery-1.9.1.js"></script>
<script type="text/javascript" src="3rdParty/jquery-ui-1.10.3/ui/jquery-ui.js"></script>
<script type="text/javascript" src="3rdParty/Cesium/Build/Cesium/Cesium.js"></script>
<script type="text/javascript" src="3rdParty/d3/d3.v3.js"></script>
<script type="text/javascript">
var sharedObject = {
dispatch : d3.dispatch("nationMouseover"),
yearData : [],
flyTo : null
};
</script>
<style>
@import url(3rdParty/jquery-ui-1.10.3/themes/vader/jquery-ui.css);
@import url(d3chart.css);
@import url(3rdParty/Cesium/Build/Cesium/Widgets/CesiumWidget/CesiumWidget.css);
@import url(3rdParty/Cesium/Build/Cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css);
@import url(3rdParty/Cesium/Build/Cesium/Widgets/Animation/Animation.css);
@import url(3rdParty/Cesium/Build/Cesium/Widgets/Timeline/Timeline.css);
@import url(3rdParty/Cesium/Build/Cesium/Widgets/SceneModePicker/SceneModePicker.css);
@import url(3rdParty/Cesium/Build/Cesium/Widgets/HomeButton/HomeButton.css);
@import url(3rdParty/Cesium/Build/Cesium/Widgets/FullscreenButton/FullscreenButton.css);
body {
padding: 0;
margin: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div id="radio" style="position:absolute; top:0px; right:50%; height: 30px">
<input type="radio" id="health" name="healthwealth" checked="checked"><label for="health">Health</label>
<input type="radio" id="wealth" name="healthwealth"><label for="wealth">Wealth</label>
</div>
<div id="chart"></div>
<div id="info" title="Nation Health and Wealth"></div>
<div id="cesiumContainer"></div>
<div id="fullscreenButtonContainer" style="position: absolute; top:16px; right:16px; width:32px; height:32px;"></div>
<div id="baseLayerPickerContainer" style="position: absolute; top:16px; right:48px; width:32px; height:32px;"></div>
<div id="sceneModePickerContainer" style="position: absolute; top:16px; right:80px; width:32px; height:32px;"></div>
<div id="homeButtonContainer" style="position: absolute; top:16px; right:112px; width:32px; height:32px;"></div>
<div id="timeContainer" style="position: absolute; bottom:32px; left:16px; width:100%; height:132px;">
<div id="animationContainer" style="position: relative; width:150px; height:100px;"></div>
<div id="timelineContainer" style="position: relative; width:100%; height:32px;"></div>
</div>
<script type="text/javascript" src="d3example.js"></script>
<script type="text/javascript" src="globe.js"></script>
</body>
</html>