摘要:
1. 首先修改 OpenLayers Events.js定位到下面代码段,添加右键菜单事件:View Code OpenLayers.Events = OpenLayers.Class({ /** * Constant: BROWSER_EVENTS * {Array(String)} supported events */ BROWSER_EVENTS: [ "mouseover", "mouseout", "mousedown", "mouseup", "mousemove", " 阅读全文