chore: apply finalized MapView and ETA card fixes

This commit is contained in:
2026-02-27 12:22:15 -05:00
parent bddb8916ba
commit 504e61bfb2
4 changed files with 158 additions and 57 deletions

View File

@ -524,6 +524,9 @@ export function useGoogleMaps() {
if ('remove' in overlay && typeof overlay.remove === 'function') {
overlay.remove()
}
if ('onRemove' in overlay && typeof overlay.onRemove === 'function') {
overlay.onRemove()
}
} catch (e) {
// Ignore errors when removing overlays
console.warn('Error removing overlay:', e)