mirror of
				https://github.com/jiawanlong/Cesium-Examples.git
				synced 2025-11-04 01:04:17 +00:00 
			
		
		
		
	
		
			
	
	
		
			136 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			136 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								<!--********************************************************************
							 | 
						||
| 
								 | 
							
								* by M3D
							 | 
						||
| 
								 | 
							
								*********************************************************************-->
							 | 
						||
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								    <meta charset="UTF-8" />
							 | 
						||
| 
								 | 
							
								    <link href="https://cesium.com/downloads/cesiumjs/releases/1.103/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.103/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="text/javascript" src="./gis-scene-sh/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;
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      #topUI {
							 | 
						||
| 
								 | 
							
								          position: absolute;
							 | 
						||
| 
								 | 
							
								          width: 100%;
							 | 
						||
| 
								 | 
							
								          height: 10%;
							 | 
						||
| 
								 | 
							
								          margin: 0;
							 | 
						||
| 
								 | 
							
								          padding: 0;
							 | 
						||
| 
								 | 
							
								          left: 0;
							 | 
						||
| 
								 | 
							
								          top: 0;
							 | 
						||
| 
								 | 
							
								          background-image: url("./gis-scene-sh/Static/images/top.png");
							 | 
						||
| 
								 | 
							
								          background-repeat: round;
							 | 
						||
| 
								 | 
							
								          pointer-events: none;
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      #leftUI {
							 | 
						||
| 
								 | 
							
								          position: absolute;
							 | 
						||
| 
								 | 
							
								          width: 20%;
							 | 
						||
| 
								 | 
							
								          height: 90%;
							 | 
						||
| 
								 | 
							
								          margin: 0;
							 | 
						||
| 
								 | 
							
								          padding: 0;
							 | 
						||
| 
								 | 
							
								          left: 0;
							 | 
						||
| 
								 | 
							
								          top: 5%;
							 | 
						||
| 
								 | 
							
								          background-image: url("./gis-scene-sh/Static/images/left.png");
							 | 
						||
| 
								 | 
							
								          background-repeat: round;
							 | 
						||
| 
								 | 
							
								          pointer-events: none;
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      #roghtUI {
							 | 
						||
| 
								 | 
							
								          position: absolute;
							 | 
						||
| 
								 | 
							
								          width: 20%;
							 | 
						||
| 
								 | 
							
								          height: 90%;
							 | 
						||
| 
								 | 
							
								          margin: 0;
							 | 
						||
| 
								 | 
							
								          padding: 0;
							 | 
						||
| 
								 | 
							
								          right: 0;
							 | 
						||
| 
								 | 
							
								          top: 5%;
							 | 
						||
| 
								 | 
							
								          background-image: url("./gis-scene-sh/Static/images/right.png");
							 | 
						||
| 
								 | 
							
								          background-repeat: round;
							 | 
						||
| 
								 | 
							
								          pointer-events: none;
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      .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("./gis-scene-sh/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;
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      .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;
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								  </style>
							 | 
						||
| 
								 | 
							
								  </head>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<body style="margin: 0; overflow: hidden; background: #fff; width: 100%; height: 100%; position: absolute; top: 0">
							 | 
						||
| 
								 | 
							
								    <div id="map" style="margin: 0 auto; width: 100%; height: 100%"></div>
							 | 
						||
| 
								 | 
							
								    <div id="sceneContainer"></div>
							 | 
						||
| 
								 | 
							
								    <div id="loadingIndicator" class="loadingIndicator"></div>
							 | 
						||
| 
								 | 
							
								    <div id="loadingIndicator2" class="loadingIndicator2"></div>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</html>
							 |