Closed louh closed 10 years ago
From map view to map view the animation is run again.
A google.maps.event.trigger(map, 'resize')
(or equivalent) needs to be done manually to force Google Maps to recalculate its size. I'm calling map.trigger('resize')
each time a map reset is done. Not sure if this is the best solution - there's a brief flicker where the map resizing is visible.
@louh that should work for now. want to link to the line of code where you're doing this?
@rclosner Yup that's the one.
I think we may be able to close this?
Usually when navigating from a full-screen to part screen view, it's fixed on reload.