From 76dd488c026c17c0aa3dda4c401a4b7893d02214 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Fri, 17 Oct 2025 08:52:29 +0000
Subject: [PATCH] 更新包同步到1.0.26
---
public/example/ExampleFlyPage.md | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/public/example/ExampleFlyPage.md b/public/example/ExampleFlyPage.md
index bab8b5e..d7a15e7 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 "../utils/Bp";
-const {Cesium} = window;
+const Cesium = window['Cesium'];
export default class ExampleFlyPage extends Component {
@@ -21,7 +20,7 @@
componentDidMount() {
- fetch('./example/ExampleBpPage.md')
+ fetch('./example/ExampleFlyPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
@@ -73,7 +72,7 @@
return {
lon: Cesium.Math.toDegrees(car.longitude),
lat: Cesium.Math.toDegrees(car.latitude),
- height: car.height
+ height: 5000
};
});
--
Gitblit v1.9.3