开发者

Google Maps API v3 JavaScript EVENTS question

In Google Maps API v2, I used the following events to each perform different tasks.

  • loaded
  • tilesloaded
  • moveend

What is the equivalent of these events in开发者_开发知识库 API v3?


According to http://code.google.com/apis/maps/documentation/v3/reference.html the events now supported are:

dragstart
drag
dragend
click
dblclick
rightclick
tilesloaded
idle
bounds_changed
resize
center_changed
zoom_changed
maptypeid_changed

so tilesloaded still exists. moveend is now center_changed, although maybe not exactly the same, it might meet your needs. and load?.... well two out of three ain't bad.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜