forked from emadehsan/cesium-electron-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
24 lines (23 loc) · 951 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://api.cesium.com https://*.virtualearth.net; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.virtualearth.net; img-src data:* " >
<title>My Cesium App</title>
<script src="./node_modules/cesium/Build/Cesium/Cesium.js"></script>
<style>
@import url(./node_modules/cesium/Build/Cesium/Widgets/widgets.css);
html, body, #cesiumContainer {
height: 100%; margin: 0; padding: 0; overflow: hidden;
}
</style>
</head>
<body>
<div id="cesiumContainer"></div>
<script>
console.log('creating Cesium viewer');
var viewer = new Cesium.Viewer('cesiumContainer');
</script>
</body>
</html>