arcgis for javascript 绑定键盘事件

绑定键盘esc事件

map.on("key-down", function(e) {
   if (e.keyCode === 27) {
     cleanUp();
   }
});


你可能感兴趣的:(arcgis)