【发布时间】:2012-05-21 09:30:35
【问题描述】:
如何在 GMap V3 中获取事件名称。
试过了,
function initialize(){
-------------------
google.maps.event.addListener(map, 'click',function(){handleViewUpdate();});
google.maps.event.addListener(map, "dragend", function () {handleViewUpdate();});
-------------------
}
function handleViewUpdate(){
alert(map.getEvent()+' Event');
}
但失败了。 :(
请帮忙:)
【问题讨论】: