toggle destination card and move when click location on search bar list
This commit is contained in:
parent
9cff6bd7ec
commit
58fcf52cd4
2 changed files with 39 additions and 0 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue