Buggy idle event on google maps
Seems like Google maps has some browser compatibility issues with idle event, fired once to detect loading status.
Use tilesloaded event to avoid this issue.
google.maps.event.addListenerOnce(map, 'tilesloaded', function () {
var mapReady = true;
});
Written by Marco Cervellin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Google
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#