javascript - Resizing google map with setTimeout() -
i'm trying resize google map object dynamically along window/div.
why while code works fine:
https://fiddle.jshell.net/ykcg4wdv/3/
when wrap in settimeout()
function in order not keep firing constantly, resize call stops working?
https://fiddle.jshell.net/ykcg4wdv/4/
also, reason, if resize the div manually - media query - second function works fine.
Comments
Post a Comment