Open baden03 opened 8 years ago
@DevinWalker I need google map api for further development. Would you please check your email ?
Thanks
@DevinWalker ,
I tried to reproduce case but I found map remains center while resize the window. I have prepare a video of my troubleshoot. So please review it when you get a chance and let me know if I am missing anything.
https://www.useloom.com/share/326da16c374e4716b346b95211aaee07
An issue we are running into is that a map with a single marker will be shown centered on page load, but if the page is resized, the marker will not recenter unless the page is refreshed. While this may be by design, it would be great if there was at least a callback that would trigger the recentering of the marker.
Does this exist, or is there a way via JS we can tell the map to recenter dynamically?
This is particularly useful when the map is being loaded in a hidden state, such as a tab or accordion, and based on the available size the map could be resized and recentered.