3D
Your Name
2022-07-25 973288ea3095247303b5daac5bc160e10ae2b8ac
src/components/Tab/Plot.vue
@@ -44,12 +44,13 @@
                        circle
                        @click="() => focusHandle(label.attr.id)"
                    />
                    <el-button
                        icon="el-icon-edit"
                        size="mini"
                        circle
                        @click="() => editHandle(label)"
                    />
<!--                    <el-button-->
<!--                        icon="el-icon-edit"-->
<!--                        size="mini"-->
<!--                        circle-->
<!--                        @click="() => editHandle(label)"-->
<!--                    />-->
                    <el-button
                        icon="el-icon-delete"
                        type="danger"
@@ -176,7 +177,6 @@
            },
            removeHandle(label) {
                if (!global.map) return;
                debugger
                for(let i in this.colorMapList){
                    if(JSON.parse(this.colorMapList[i].properties).attr.id === label.attr.id){
                        deleteColorMap({id:this.colorMapList[i].id}).then(res =>{
@@ -227,7 +227,7 @@
                    map.startDraw(
                        {
                            type: 'polygon',
                            style: { text: name ,color:this.color},
                            style: { text: name ,color:this.color, clampToGround: true},
                            attr: {
                                name,
                            },