I have encountered a strange issue with the Google Maps Javascript API. When using the method fitBounds(), webkit browsers are animating the pan and zoom when zooming between certain zoom levels. This is nice, but when using an "Overlay Map Type", the original map tiles aren't displayed sometimes. I haven't been able to recreate this on smaller monitors, so I think it is related to large map canvases.
I have made a simple example page which is pretty much copied from the API documentation. In order to recreate the problem:
1) Open http://pastehtml.com/view/cqloxyo5v.html in Chrome (on either Mac or Windows) with a large monitor and make sure the window is maximized. I am using 24".
2) Press the "Click me!" button in the bottom left corner which triggers the fitBounds()-method with two coordinates that are outside the map scope.
3) The map will animate to fit the coordinates and some map tiles will become empty. If there was no animation, your browser window was probably too small. If it did animate but the tiles look ok, update the page and try it a few times again. It seems to happen sporadically.
This is what it looks like for me: https://vimeo.com/58366640
Has someone encountered something similar? Is there any way to disable the animation?
Thank you in advance!