sbjw
2025-10-17 120deee086a2327437549b8c6f642f59c4851263
src/example/ExampleFlyPage.js
@@ -1,10 +1,9 @@
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 {
@@ -17,7 +16,7 @@
    componentDidMount() {
        fetch('./example/ExampleBpPage.md')
        fetch('./example/ExampleFlyPage.md')
            .then(response => response.text())
            .then(mdText => {
                this.setState({htmlString: window.marked.parse(mdText)});
@@ -69,7 +68,7 @@
            return {
                lon: Cesium.Math.toDegrees(car.longitude),
                lat: Cesium.Math.toDegrees(car.latitude),
                height: car.height
                height: 5000
            };
        });