| | |
| | | "双色线": { |
| | | type: "line", |
| | | bklx: 'double', |
| | | bkkd: 10, |
| | | color: '#64c324', |
| | | color2: '#6932cc', |
| | | useModify: false, |
| | |
| | | }, |
| | | "通信抗测向线2": { |
| | | type: "txdkcxx2", |
| | | kcjd: 30, |
| | | kcjd: 120, |
| | | kcgls: 10, |
| | | kcwb: '123123', |
| | | color: '#0059FFA3', |
| | |
| | | lat: 32.005068100060593, |
| | | height: 0, |
| | | }] |
| | | }, |
| | | "干扰波束": { |
| | | type: "grbs", |
| | | color: '#D5013A', |
| | | useModify: false, |
| | | lon: 102.23554539488224, |
| | | lat: 31.005068100060593, |
| | | height: 0, |
| | | qsjd: 30, |
| | | zzjd: 130, |
| | | bj: 100 |
| | | } |
| | | } |
| | | line_star |
| | |
| | | .then(mdText => { |
| | | this.setState({htmlString: window.marked.parse(mdText)}); |
| | | }); |
| | | this.showOptions(); |
| | | } |
| | | |
| | | showOptions = () => { |
| | |
| | | options.push(this.optionObjs[key]); |
| | | } |
| | | this.mapFunction.mapApiService.showDrawDatas(options); |
| | | |
| | | // this.mapFunction.mapApiService.draw(options[0]); |
| | | // setTimeout(() => { |
| | | // let p = this.mapFunction.mapApiService.getDraw(options[0].code); |
| | | // p.drawEnd.subscribe(value => { |
| | | // alert(p.export()); |
| | | // }) |
| | | // }) |
| | | } |
| | | }; |
| | | |
| | |
| | | plotUrl={this.state.plotUrl} |
| | | mapRef={this} |
| | | showDefaultLayer={false} |
| | | global={[102.5, 30.5, 103.5, 31.5]} |
| | | /> |
| | | </div> |
| | | <Button type="primary" onClick={this.showOptions.bind(this)}>显示已有标绘数据</Button> |