src/example/ExampleXzxxPage.js
@@ -153,6 +153,14 @@
                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());
            //     })
            // })
        }
    };
@@ -206,6 +214,7 @@
                         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>