开发者

Is there a finished drawing event or callback in the Google Maps API v3?

I'd like to pop up a loading bar for when things开发者_如何学编程 are loading on a map.


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜