add next stage of destinationcard
This commit is contained in:
parent
58fcf52cd4
commit
fe568132a1
3 changed files with 240 additions and 16 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue