From f5a22435c28d43fbb776c243ac46279cecc33591 Mon Sep 17 00:00:00 2001 From: ingalls Date: Fri, 8 Mar 2024 11:22:39 -0700 Subject: [PATCH] Add very basic style section --- .../src/components/CloudTAK/Menu/Overlays.vue | 136 ++++++++++++++---- 1 file changed, 105 insertions(+), 31 deletions(-) diff --git a/api/web/src/components/CloudTAK/Menu/Overlays.vue b/api/web/src/components/CloudTAK/Menu/Overlays.vue index 5d8c0fe02..e63fae71d 100644 --- a/api/web/src/components/CloudTAK/Menu/Overlays.vue +++ b/api/web/src/components/CloudTAK/Menu/Overlays.vue @@ -1,46 +1,109 @@ @@ -53,6 +116,7 @@ import { } from '@tak-ps/vue-tabler'; import { IconCircleArrowLeft, + IconPaintFilled, IconMaximize, IconVector, IconEyeOff, @@ -69,6 +133,7 @@ export default { data: function() { return { err: false, + isEditing: false, loading: false, } }, @@ -81,6 +146,14 @@ export default { mapStore.removeLayer(layer.name); this.loading = false; }, + editor: function(layer) { + if (["data", "profile"].includes(layer.mode) && layer.type === "vector") { + this.isEditing = { + layer: layer, + single: false + } + } + }, getSource: function(layer) { return mapStore.map.getSource(layer.source) }, @@ -107,6 +180,7 @@ export default { IconMaximize, IconCircleArrowLeft, IconEye, + IconPaintFilled, IconEyeOff, IconPlus, IconVector,