sbjw
2025-10-17 120deee086a2327437549b8c6f642f59c4851263
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
            };
        });