fix: recarga total de mapa, corregir 400 bus_stops y flicker de mensaje de buses

This commit is contained in:
2026-03-02 09:35:43 -05:00
parent ac41cba2e7
commit fb57f13d62
4 changed files with 6 additions and 12 deletions

View File

@ -74,13 +74,9 @@ function closeUberSearch() {
function animateAndReload() {
isBannerClosing.value = true;
// Limpiar mapa inmediatamente para feedback visual instantáneo
clearMapMarkers();
setTimeout(() => {
routeStore.clearSelection();
isBannerClosing.value = false;
router.replace({ query: {} });
}, 450);
routeStore.clearSelection();
// Solución anterior: Recargar para mapa limpio
window.location.href = window.location.origin + window.location.pathname;
}
function handlePromoClick(promo: any) {