From 529e8b6956e288bf5d1e5e6c9a34760f37268a39 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Fri, 4 Jun 2021 10:50:54 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=B9=B3=E9=9D=A2=E5=9B=BE?= =?UTF-8?q?gis=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collection-tools.component.ts | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/app/ui/collection-tools-plan/collection-tools.component.ts b/src/app/ui/collection-tools-plan/collection-tools.component.ts index 7e0ec8b..81fd391 100644 --- a/src/app/ui/collection-tools-plan/collection-tools.component.ts +++ b/src/app/ui/collection-tools-plan/collection-tools.component.ts @@ -1400,15 +1400,24 @@ export class CollectionToolsPlanComponent implements OnInit { this.showInfoClick(e) }); this.map.on("complete", () => { - for (const key in this.canvasData.originaleveryStoreyData.data) { if (Object.prototype.hasOwnProperty.call(this.canvasData.originaleveryStoreyData.data, key)) { const element = this.canvasData.originaleveryStoreyData.data[key]; - let markerContent = '' + + let editable = sessionStorage.getItem('editable') + let markerContent + if(editable == '1') { + markerContent = '' + '