From 2f9452416043aa167c74d2e8ba9696d5f4df43fb Mon Sep 17 00:00:00 2001 From: alan-wu Date: Wed, 19 Jun 2024 11:50:44 +1200 Subject: [PATCH 01/24] Add local annotation mode and delete button. --- src/App.vue | 1 + src/components/ScaffoldTooltip.vue | 50 ++++++++++++++++-- src/components/ScaffoldVuer.vue | 84 ++++++++++++++++++------------ src/scripts/Utilities.js | 44 ++++++++++++++-- 4 files changed, 139 insertions(+), 40 deletions(-) diff --git a/src/App.vue b/src/App.vue index 485bad5..1b4786a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,6 +27,7 @@ :view-u-r-l="viewURL" :format="format" :marker-labels="markerLabels" + :enableLocalAnnotations="true" @open-map="openMap" @on-ready="onReady" @scaffold-selected="onSelected" diff --git a/src/components/ScaffoldTooltip.vue b/src/components/ScaffoldTooltip.vue index 6b6fdd6..18b6f10 100644 --- a/src/components/ScaffoldTooltip.vue +++ b/src/components/ScaffoldTooltip.vue @@ -19,7 +19,7 @@ :createData="createData" @confirm-create="$emit('confirm-create', $event)" @cancel-create="$emit('cancel-create')" - /> + /> +
+ + Delete this feature? + + + Delete + + + +