0
点赞
收藏
分享

微信扫一扫

百度地图 添加事件

书呆鱼 2023-02-17 阅读 121

addMkrInfoWin = new BMap.InfoWindow(html, {
offset : new BMap.Size(0, -10)
/*,关闭事件不能这样写
close : function(type, target, point) {
alert('关闭');
}
*/
});

addMkrInfoWin.addEventListener('close', function() {
cancelController();
});


 

 

举报

相关推荐

0 条评论