pju0qw
Last Updated: February 25, 2016
·
511
· macodev

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;
});