From 973288ea3095247303b5daac5bc160e10ae2b8ac Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Mon, 25 Jul 2022 18:44:49 +0800
Subject: [PATCH] 3D
---
src/components/Tab/Plot.vue | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/components/Tab/Plot.vue b/src/components/Tab/Plot.vue
index 0a5ae38..ff73016 100644
--- a/src/components/Tab/Plot.vue
+++ b/src/components/Tab/Plot.vue
@@ -177,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 =>{
@@ -228,7 +227,7 @@
map.startDraw(
{
type: 'polygon',
- style: { text: name ,color:this.color},
+ style: { text: name ,color:this.color, clampToGround: true},
attr: {
name,
},
--
Gitblit v1.9.2