map.on('mousemove', function (e) { document.getElementById('info').innerHTML = /* innerHTML 属性设置或返回表格行的开始和结束标签之间的 HTML */ // e.point is the x, y coordinates of the mousemove event relative // to the top-left corner of the map JSON.stringify(e.contain…
var map = new BMap.Map('map'); var poi = new BMap.Point(112.53, 37.87); map.enableScrollWheelZoom(); map.centerAndZoom(poi, 12); map.addEventListener("mousemove",function(e){ console.log(e.point) }); map.addEventListener("click",functi…