arcgis api for js通过on来绑定事件,常用的绑定方法有:
map.on("mouse-move",function(e){
console.log('hello')
})
dojo.on('map','click',function(e)){
consloe.log('hello')
})
常用来绑定的事件有:
“click” 鼠标点击事件
“DblClick” 鼠标双击事件
“mouse-over" 鼠标移出事件
”mouse-enter“ 鼠标移入事件
”mouse-move" 鼠标移动事件