sbjw
15 hours ago bdacd0fd6fc9265f1f68728f0c90ce58724e3b6b
增加共点测试
2 files modified
25 ■■■■■ changed files
package.json 2 ●●● patch | view | raw | blame | history
src/FirstPage.js 23 ●●●●● patch | view | raw | blame | history
package.json
@@ -4,7 +4,7 @@
    "scripts": {
        "start": "react-app-rewired start",
        "build": "react-app-rewired build",
        "update2": "npm update iclient3d-plot-diy --no-save --registry https://registry.npmjs.org",
        "update2": "npm update iclient3d-plot-diy",
        "code-to-md": "node extract-code-to-md.js"
    },
    "keywords": [],
src/FirstPage.js
@@ -9,6 +9,28 @@
    }
    componentDidMount() {
        let arr2 = [{
            bz: false,
            bzlx: 'simple',
            jbwb: 'R:00000',
            allowPicking: false,
            returnHeight: true,
            useModify: false,
            type: 1004,
            lon: 102.71004539488224, lat: 30.990068100060593, height: 0,
            points: [],
            iconSize: [[20, 20], [20, 20], [40, 40]]
        }, {
            allowPicking: false,
            type: "lddkzcqy",
            bj: 22,
            qsjd: 30,
            zzjd: 75,
            lon: 102.71004539488224, lat: 30.990068100060593, height: 0,
            useModify: false,
        }];
        this.mapFunction.mapApiService.showDrawDatas(arr2);
    }
@@ -20,6 +42,7 @@
                }}
                     plotUrl={this.state.plotUrl}
                     mapRef={this}
                     iconScales={[[0, 2000], [2000, 10000], [10000, 5000000]]}
                />
            </div>
        )