feat(map): ensure full Google Map re-initialization on 'X' click

This commit is contained in:
2026-03-02 16:27:52 -05:00
parent ad1df00e60
commit 4f8096f425

View File

@ -111,11 +111,8 @@ async function animateAndReload() {
showETACard.value = false; showETACard.value = false;
routePhase.value = 'idle'; routePhase.value = 'idle';
if (userCoords.value) { // Recarga completa del mapa de Google
setCenter(userCoords.value.lat, userCoords.value.lng); await initializeMap();
setZoom(16);
reDrawUserMarker();
}
setTimeout(() => { setTimeout(() => {
isBannerClosing.value = false; isBannerClosing.value = false;