addMkrInfoWin = new BMap.InfoWindow(html, {
offset : new BMap.Size(0, -10)
/*,关闭事件不能这样写
close : function(type, target, point) {
alert('关闭');
}
*/
});
addMkrInfoWin.addEventListener('close', function() {
cancelController();
});
百度地图 添加事件
阅读 121
2023-02-17
addMkrInfoWin = new BMap.InfoWindow(html, {
offset : new BMap.Size(0, -10)
/*,关闭事件不能这样写
close : function(type, target, point) {
alert('关闭');
}
*/
});
addMkrInfoWin.addEventListener('close', function() {
cancelController();
});
相关推荐
精彩评论(0)