add next stage of destinationcard

This commit is contained in:
SRP-mango 2023-11-23 01:39:14 +07:00
parent 58fcf52cd4
commit fe568132a1
3 changed files with 240 additions and 16 deletions

View file

@ -5,12 +5,6 @@
class="router-view"
/>
<!-- <Popup
v-if="popupData"
:nearestStructureData="popupData"
:onClose="closePopup"
/> -->
<DestinationInfoCard
class="DestinationInfoCard"
v-if="popupData"
@ -121,7 +115,7 @@ const moveToLocation = (result) => {
const lon = parseFloat(result.lon);
center.value = [lon, lat];
showSearchBar.value = false;
popupData.value = result; // Set the selected search result as popupData
popupData.value = result;
};
const performSearch = async () => {