摘要:
1 document.addEventListener("keyup", function(e) { 2 console.log("按键:", e.key) 3 if (e.key "Escape") { 4 ClearMapTool() 5 } 6 }) 直接使用document 的 keyup 阅读全文
坐标合肥,非典型GIS开发人员 GitHub。 最近主攻CesiumJS。 其它 ArcGIS Family、Openlayers、Leaflet、 maptalks、GeoServer、MapInfo、PostGIS 略会。 国内的Baidu, Gaode, Tdt API也略知一二。