2025-05-18 11:30:00 +00:00
|
|
|
<!--********************************************************************
|
|
|
|
* by jiawanlong
|
|
|
|
*********************************************************************-->
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2025-05-17 11:30:00 +00:00
|
|
|
|
2025-05-18 11:30:00 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<link rel="stylesheet" href="./../../libs/cesium/Cesium1.98/Widgets/widgets.css" />
|
|
|
|
<script type="text/javascript" src="./../../libs/cesium/Cesium1.98/Cesium.js"></script>
|
|
|
|
<script src="./turf.min.js"></script>
|
|
|
|
<script src="./latlng.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body style="overflow: hidden;margin: 0;">
|
|
|
|
<div id="map" style="margin: 0 auto; width: 100%; height: 100vh"></div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
let viewer;
|
|
|
|
document.onload = function () {
|
|
|
|
initMap();
|
|
|
|
}()
|
|
|
|
|
|
|
|
function initMap() {
|
|
|
|
Cesium.Ion.defaultAccessToken =
|
2025-05-29 02:59:44 +00:00
|
|
|
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIyNDMxOTA2NS1lY2Q3LTQ0YmUtOTE1Mi1iNWE2OGYwZjc0MjkiLCJpZCI6MjM1NjMwLCJpYXQiOjE3MzA3MjQzMTJ9.Xhu-9FyVEyqBKWEr0V9Sybt-elTCWHt9peL9-mNh-4E";
|
2025-05-18 11:30:00 +00:00
|
|
|
viewer = new Cesium.Viewer("map", {});
|
|
|
|
|
|
|
|
}
|
2025-05-17 11:30:00 +00:00
|
|
|
|
2025-05-18 11:30:00 +00:00
|
|
|
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|