sbjw
2025-12-02 6ff48d7df4046e92cc2056327717ca7879422c18
public/example/ExampleFlyPage.md
@@ -4,9 +4,8 @@
```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['Cesium'];
@@ -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)
            });
        });