### ExampleGetPointsPage 代码 ```jsx import React, {Component} from 'react' import './ExampleDrawPage.css' import {GIS} from "iclient3d-plot-diy"; import {Button} from "antd"; export default class ExampleGetPointsPage extends Component { constructor(props) { super(props); this.state = { htmlString: '

正在加载中...

', }; } componentDidMount() { fetch('./example/ExampleGetPointsPage.md') .then(response => response.text()) .then(mdText => { this.setState({htmlString: window.marked.parse(mdText)}); }); } async getPoints() { let p = await this.mapFunction.mapApiService.draw({ type: "0", }); p.drawEnd.subscribe(value => { let c = p.export(); alert(`lon: ${c.lon}, lat: ${c.lat}, height: ${c.height}`); this.mapFunction.mapApiService.removeDraw(p.code); }) } render() { return (

军标绘制拨盘功能

{ this.mapFunction = e } } plotUrl={this.state.plotUrl} mapRef={this} showDefaultLayer={false} />
) } } ```