| | |
| | | } |
| | | }; |
| | | |
| | | showOptions2 = () => { |
| | | this.mapFunction.mapApiService.showDrawDatas([this.optionObjs['目标简标']]); |
| | | } |
| | | |
| | | |
| | | async draw(option) { |
| | | this.closeUpdate(); |
| | |
| | | delete option.height; |
| | | let p = await this.mapFunction.mapApiService.draw(option); |
| | | p.drawEnd.subscribe(value => { |
| | | alert(p.export()); |
| | | // alert(p.export()); |
| | | }) |
| | | this.drawOps.push(p); |
| | | } |
| | |
| | | showDefaultLayer={true} |
| | | /> |
| | | </div> |
| | | <Button type="primary" onClick={this.showOptions2.bind(this)}>2222</Button> |
| | | <Button type="primary" onClick={this.showOptions.bind(this)}>显示已有标绘数据</Button> |
| | | {buttons} |
| | | <Button type="primary" onClick={this.export.bind(this)}>导出绘制配置</Button> |