我想在地图上加载东西时弹出一个加载栏。
// 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
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.