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,