| | |
| | | ```jsx |
| | | import React, {Component} from 'react' |
| | | import './ExampleDrawPage.css' |
| | | import {GIS} from "../iclient3d-plot-diy"; |
| | | import {GIS} from "iclient3d-plot-diy"; |
| | | import {interval, take} from "rxjs"; |
| | | import Bp from "../utils/Bp"; |
| | | import {Bp} from "iclient3d-plot-diy"; |
| | | |
| | | const {Cesium} = window; |
| | | const Cesium = window['Cesium']; |
| | | |
| | | export default class ExampleFlyPage extends Component { |
| | | |
| | |
| | | |
| | | componentDidMount() { |
| | | |
| | | fetch('./example/ExampleBpPage.md') |
| | | fetch('./example/ExampleFlyPage.md') |
| | | .then(response => response.text()) |
| | | .then(mdText => { |
| | | this.setState({htmlString: window.marked.parse(mdText)}); |