src/views/Home/useMapAggregation/useMapAggregation.js
@@ -235,7 +235,6 @@ id: `aggregation-splashed-${index}`, position: Cesium.Cartesian3.fromDegrees(item.longitude, item.latitude), label: { // 随机整数 text: item.nickname, font: '12pt Source Han Sans CN', fillColor: Cesium.Color.WHITE, @@ -365,11 +364,7 @@ }) needFly && viewer.flyTo(dataSource, { offset: new Cesium.HeadingPitchRange( 0, // heading: 0 (朝向不变) Cesium.Math.toRadians(-60), // pitch: -90° (垂直向下) 0 // range: 0 (默认距离) ), offset: new Cesium.HeadingPitchRange(0, Cesium.Math.toRadians(-60), 0), duration: 0.5, }) needFly = false