Open nikbabchenko opened 8 years ago
Sorry I've taken so long to reply, it should be as simple as:
google.maps.event.trigger(maplaceObj.oMap, 'resize');
Thanks a lot for reply) Though, sure, I've handle it so long time ago.
I guess it would be useful to have it in docs :-)
Related to #173
Hi there, Can I have one example to trigger resize event on map. I am unable to resize the map
your help will be really appreciated.
Hello, can't figure it out. I have similar event like here in https://snazzymaps.com/style/42/apple-maps-esque
Initially map width is 70% of the screen and when hiding a side panel it's width 100%.
how to fire 'resize' event of google map, like this:
google.maps.event.trigger(map, 'resize');
?