标签:
var marker = new BMap.Marker(point);
var playVideo = function(e,ee,marker){
//alert(marker.point.lng + "," + marker.point.lat);
var x=marker.point.lng;
var y= marker.point.lat;
};
//创建右键菜单
var markerMenu=new BMap.ContextMenu();
markerMenu.addItem(new BMap.MenuItem(‘播放视频‘,playVideo.bind(marker)));
var marker = new BMap.Marker(point);
map.addOverlay(marker);
marker.addContextMenu(markerMenu);
标签:
原文地址:http://www.cnblogs.com/IT-shen/p/4193465.html