From 3001d33b71333bcc02f6b8c6155502636cb471c9 Mon Sep 17 00:00:00 2001 From: rrr-marble Date: Tue, 9 Aug 2022 21:54:39 +0300 Subject: [PATCH] fix: missing feature id on very 1st map click --- src/components/MapComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MapComponent.vue b/src/components/MapComponent.vue index e8b6cdf..3629e0a 100644 --- a/src/components/MapComponent.vue +++ b/src/components/MapComponent.vue @@ -13,7 +13,7 @@ export default { setup(_props, context) { const mapContainer = shallowRef(null); const map = shallowRef(null); - let currentFadr = {}; + let currentFadr = { "fadr": "Any" }; onMounted(() => { const apiKey = "pk.eyJ1IjoiZ2hlcm1hbnQiLCJhIjoiY2pncDUwcnRmNDQ4ZjJ4czdjZXMzaHZpNyJ9.3rFyYRRtvLUngHm027HZ7A";