From ab43548757dee86855061b2d1d458c7db5e6b879 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Thu, 04 Dec 2025 17:15:27 +0000
Subject: [PATCH] 同步更新1.0.32版本
---
src/example/ExampleFlyPage.js | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/example/ExampleFlyPage.js b/src/example/ExampleFlyPage.js
index a99c0da..640bdc5 100644
--- a/src/example/ExampleFlyPage.js
+++ b/src/example/ExampleFlyPage.js
@@ -1,8 +1,7 @@
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['Cesium'];
@@ -69,7 +68,7 @@
return {
lon: Cesium.Math.toDegrees(car.longitude),
lat: Cesium.Math.toDegrees(car.latitude),
- height: car.height
+ height: 5000
};
});
@@ -82,7 +81,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]);
@@ -91,6 +91,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