toggle destination card and move when click location on search bar list

This commit is contained in:
SRP-mango 2023-11-21 00:39:14 +07:00
parent 9cff6bd7ec
commit 58fcf52cd4
2 changed files with 39 additions and 0 deletions

View file

@ -121,6 +121,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
};
const performSearch = async () => {