From 5662a8178281c2c228a1d785d01534e24e68c64b Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Mon, 23 Mar 2026 13:02:18 +0000
Subject: [PATCH] 发布1.0.45版本 1、去除开启地形探测模式 2、修复拨盘问题 3、修复上一版本terrainUrlIsSct的初始化问题。 4、修复上一版本更新时的报错问题
---
public/example/ExampleFlyPage.md | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/public/example/ExampleFlyPage.md b/public/example/ExampleFlyPage.md
index ba62d60..66dff62 100644
--- a/public/example/ExampleFlyPage.md
+++ b/public/example/ExampleFlyPage.md
@@ -4,11 +4,10 @@
```jsx
import React, {Component} from 'react'
import './ExampleDrawPage.css'
-import {GIS} from "iclient3d-plot-diy";
+import {GIS, Bp} from "iclient3d-plot-diy";
import {interval, take} from "rxjs";
-import {Bp} from "iclient3d-plot-diy";
-const {Cesium} = window;
+const Cesium = window['Cesium'];
export default class ExampleFlyPage extends Component {
@@ -73,7 +72,7 @@
return {
lon: Cesium.Math.toDegrees(car.longitude),
lat: Cesium.Math.toDegrees(car.latitude),
- height: car.height
+ height: 5000
};
});
@@ -86,7 +85,8 @@
"useModify": false,
"lon": arr[0].lon,
"lat": arr[0].lat,
- "height": arr[0].height || 0,
+ xz: true,
+ "height": arr[0].height,
points: []
}
this.mapFunction.mapApiService.showDrawDatas([option]);
@@ -95,6 +95,7 @@
this.mapFunction.mapApiService.updateDraw("ccccc", {
lon: arr[number].lon,
lat: arr[number].lat,
+ height: arr[number].height,
points: arr.slice(0, number)
});
});
--
Gitblit v1.9.3