init.js

来自「mapxtreme for web 电子地图的B/S模式代码」· JavaScript 代码 · 共 18 行

JS
18
字号
var state=""
var eventstate=""
var oldx=0
var oldy=0
var startx=0
var starty=0
var mapserviceurl="servlet/Mapservice"
var mapboundserviceurl="servlet/Mapservice?rqutype=boundmap"
document.onmousedown=mapmousedown
document.onmousemove=mapmousemove
document.onmouseup=mapmouseup
document.all.imgmap.onreadystatechange=downloadstate
document.all.boundmap.onreadystatechange=bounddownloadstate
document.all.seltable.onmousemove=tablemove
window.name="mapwindow"
document.all.imgmap.src=mapserviceurl+"?rqutype=initmap"
document.all.center.src=mapserviceurl+"?rqutype=centerpoint"
document.all.zoom.src=mapserviceurl+"?rqutype=zoom"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?