加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 3.94 KB
一键复制 编辑 原始数据 按行查看 历史
m3d 提交于 2023-08-31 04:05 . update index.html.
<!DOCTYPE html>
<head>
<title>CesiumDemo-实景城市(源码版)</title>
<!-- Use correct character set. -->
<meta charset="utf-8" />
<!-- Tell IE to use the latest, best version. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Make the application on mobile take up the full browser screen and disable user scaling. -->
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<link href="https://cesium.com/downloads/cesiumjs/releases/1.105.1/Build/Cesium/Widgets/widgets.css"
rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css" rel="stylesheet">
<script type="text/javascript"
src="https://cesium.com/downloads/cesiumjs/releases/1.105.1/Build/Cesium/Cesium.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src=" https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
<script type="module" src="./index.js"></script>
<style>
html,
body,
#sceneContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
background: #000;
}
#uiContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
#uiContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.loadingIndicator {
display: block;
position: absolute;
top: 50%;
left: 50%;
margin-top: -33px;
margin-left: -33px;
width: 66px;
height: 66px;
z-index: 99;
background-position: center;
background-repeat: no-repeat;
background-image: url("./Static/images/ajax-loader.gif");
}
.loadingIndicator2 {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
background: #000;
color: white;
text-align: center;
font-size: 30px;
}
.bvideo {
position: absolute;
top: 10px;
left: 10px;
font-size: 13px;
color: #fff;
z-index: 9999;
}
.view {
position: absolute;
top: 10px;
left: 110px;
font-size: 13px;
color: #fff;
z-index: 9999;
}
.snow {
position: absolute;
top: 10px;
left: 180px;
font-size: 13px;
color: #fff;
z-index: 9999;
}
.rain {
position: absolute;
top: 10px;
left: 250px;
font-size: 13px;
color: #fff;
z-index: 9999;
}
.topUI {
background-image: url(./Static/images/bg_top.png);
background-size: 100% 100%;
position: absolute;
left: 0px;
top: 0px;
position: absolute;
left: 0px;
top: 0px;
z-index: 99;
height: 50px;
width: 50%;
padding-left: 45%;
font-size: 30px;
color: white;
}
</style>
</head>
<body>
<div id="sceneContainer"></div>
<div id="loadingIndicator" class="loadingIndicator"></div>
<div id="loadingIndicator2" class="loadingIndicator2">
<span class="wow bounceInDown" data-wow-duration="10.0s">提示: google在线实景数据加载需要vpn !</span>
</div>
</body>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化