[英]Is there a finished drawing event or callback in the Google Maps API v3?
我想在地图上加载东西时弹出一个加载栏。
// insert / show your loading bar
// (or not if it's already visible in the DOM)
// var map = new google.maps.Map(map_canvas, map_options);
google.maps.event.addListenerOnce(map, 'idle', function() {
// hide your loading bar
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.