diff --git a/mhvor.html b/mhvor.html
index 260457f..359fe48 100644
--- a/mhvor.html
+++ b/mhvor.html
@@ -144,7 +144,6 @@
scale: 0.5,
width: 36,
height: 28,
- distanceDisplayCondition : new Cesium.DistanceDisplayCondition(10.0, 20000.0),
},
label: {
fillColor: {
@@ -253,12 +252,12 @@
// 相机高度
let camera_height = viewer.camera.positionCartographic.height;
- // 相机高度+地球最大半径
+ // 相机高度+地球最大半径
let height_total = camera_height + viewer.scene.globe.ellipsoid.maximumRadius
- // 实体和相机之间的距离
+ // 实体和相机之间的距离
let distance_camera_entity = Cesium.Cartesian3.distance(viewer.camera.position, cartesian)
- if (((distance_camera_entity < height_total)) && camera_height < 500000) {
+ if (((distance_camera_entity < height_total)) && camera_height < 200000) {
container.style.visibility = "visible"
} else {
container.style.visibility = "hidden"