chore: apply finalized MapView and ETA card fixes
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user