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