|
@@ -3,7 +3,7 @@
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
<!-- Include the CesiumJS JavaScript and CSS files -->
|
|
|
- <script src="./js/Cesium.js"></script>
|
|
|
+ <script src="./js/Cesium.js?t=asd"></script>
|
|
|
<link href="./js/widgets.css" rel="stylesheet">
|
|
|
<style>
|
|
|
|
|
@@ -38,7 +38,19 @@
|
|
|
vrButton:true
|
|
|
});
|
|
|
|
|
|
-// Fly the camera to Denver, Colorado at the given longitude, latitude, and height.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ viewer.scene.focalLength = 100 //焦距
|
|
|
+ viewer.scene.eyeSeparation = 0.06 //瞳距
|
|
|
+
|
|
|
+
|
|
|
+ document.documentElement.addEventListener('fullscreenchange', e => {
|
|
|
+ e.stopPropagation()
|
|
|
+ e.preventDefault()
|
|
|
+ console.log('???')
|
|
|
+ })
|
|
|
viewer.camera.flyTo({
|
|
|
destination: Cesium.Cartesian3.fromDegrees(-104.9965, 39.74248, 4000)
|
|
|
});
|