📄 mainwebform new.aspx
字号:
document.getElementById("divRightFun").style.display="none";
document.getElementById("imageRight").src="images/door_left.gif";
document.all["imageRight"].alt="显示";
divRightFun="none";
}
}
catch(err)
{
}
try
{
OutLook(form1.hiddenRight.value)
}
catch(err)
{
}
}
</script>
<script language ="javascript" type ="text/javascript" >
// --- 设置cookie
function setCookie(sName,sValue)
{
var value=getCookie(sName);
if(value==null)
{
var cookieString = document.cookie;
cookieString +=";" + sName + "=" + escape(sValue) + ";";
// alert(cookieString + "1");
document.cookie = cookieString;
// alert(document.cookie + "1");
}
else
{
document.cookie =document.cookie.replace(sName + "=" + value,sName + "=" +sValue);
//alert(document.cookie);
}
}
//--- 获取cookie
function getCookie(sName)
{
var aCookie = document.cookie.split(";");
for (var j=0; j < aCookie.length; j++)
{
var aCrumb = aCookie[j].split("=");
if (escape(sName) == aCrumb[0])
return unescape(aCrumb[1]);
}
return null;
}
</script>
<script>
function load()
{
ResetViewPosition();
ResetViewSize();
ShowDialog();
// alert(document.cookie);
// alert(form1.hiddenMapView_X.value);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无线电管理地理信息系统</title>
<link href ="css/page.css" rel ="Stylesheet" />
<link href ="css/LayerControl.css" rel="stylesheet" />
<link href ="css/RightMenu.css" rel ="stylesheet" />
<script src ="js/Page.js" type ="text/javascript" ></script>
<script language="javascript" type="text/javascript" src="../Script/DataManage/CommonValidate.js"></script>
</head>
<body onload ="load()">
<form id="form1" runat="server" style ="overflow:auto ">
<table width="100%" border ="0" cellpadding ="0" cellspacing ="0">
<tr>
<td style="background-image:url(images/new/tou.gif); width:100%; height: 77px;"></td>
</tr>
</table>
<%--地图 开始--%>
<table id="tabMap" style ="width:100%" border ="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url('images/new/121_03.gif'); width: 29px; height: 14px;"></td>
<td style="background-image:url('images/new/121_05.gif'); height:14px"></td>
<td style="background-image:url('images/new/121_09.gif'); height:14px ;width: 31px;"></td>
</tr>
<tr>
<td style="background-image:url(images/new/121_21.gif); text-align:right; width: 29px;"><div style ="width:10px; text-align:left"><img id="image1" src ="images/door_left.gif" onclick ="ToolBar()" style ="cursor:pointer" alt ="隐藏"/></div></td>
<td >
<smis:MapControl runat="server" BusyFlag-ImageUrl="images/rollingbar.gif"
BorderStyle="Solid" BorderWidth="0px" BorderColor="Gray"
ImageHandler-Enabled="True" ID="MapControl1" Width="940px" Height="490px" oncontextmenu="return false;" UseCachedMap ="true" MapName="河北" MaxScale="0" MinScale="0" onmousemove="ShowCursorPos()" OnAreaMeasured="MapControl1_AreaMeasured" OnDistanceMeasured="MapControl1_DistanceMeasured" OnPreRender="MapControl1_PreRender" OnQueryCompleted="MapControl1_QueryCompleted" OnQuerying="MapControl1_Querying" OnMapSwitched="MapControl1_MapSwitched" OnViewBoundsChanged="MapControl1_ViewBoundsChanged" />
<%-- <smis:MapControl runat="server" BusyFlag-ImageUrl="images/rollingbar.gif" oncontextmenu="return false;"
BorderStyle="Solid" BorderWidth="0px" BorderColor="Gray"
ImageHandler-Enabled="True" ID="MapControl1" Width="940px" Height="490px" onmousemove="ShowCursorPos()" OnAreaMeasured="MapControl1_AreaMeasured" OnDistanceMeasured="MapControl1_DistanceMeasured" OnPreRender="MapControl1_PreRender" OnQueryCompleted="MapControl1_QueryCompleted" OnQuerying="MapControl1_Querying" MapName="World" MaxScale="0" MinScale="0" OnMapSwitched="MapControl1_MapSwitched" OnViewBoundsChanged="MapControl1_ViewBoundsChanged" MapUrl="http://127.0.0.1/output/33G4683793145907_DB06CA99.png?t=9UV2R4oU4A" MapServer-Address="127.0.0.1" />--%></td>
<td style="background-image:url('images/new/121_14.gif');text-align:left;"><div style =" text-align:right; width:10px"><img id="imageRight" src ="images/door_left.gif" onclick ="RightToolBar()" style ="cursor:pointer" alt ="显示"/></div></td>
</tr>
<tr style="height:10px" >
<td style="background-image:url(images/new/121_21.gif); text-align:right; width: 29px;"></td>
<td style ="background-color:rgb(221,239,255)">
<table border=0; cellpadding =0; cellspacing =0 style="margin:0 0 0 0" >
<tr><td style ="width:5px"></td>
<td style ="font-size:10pt">经度:</td>
<td style="width:102px; text-align:left;font-size:10pt"><div id="mouseX" style =""></div></td>
<td style ="font-size:10pt">纬度:</td>
<td style="width:75px; text-align:left;font-size:10pt"><div id="mousey" ></div></td>
<td style ="font-size:10pt">当前比例尺 1:</td>
<td style ="text-align:left;font-size:10pt;width:110px;"><asp:Label ID="labelScale" runat ="server" ></asp:Label>
</td>
</tr>
</table>
</td>
<td style="background-image:url('images/new/121_14.gif');text-align:left;"></td>
</tr>
<tr>
<td style="background-image:url('images/new/121_53.gif'); width: 29px; height: 51px;"></td>
<td style="background-image:url('images/new/121_55.gif'); height:51px ; text-align:right ; font-size: 10pt; color: blue; width:94%">
<table style ="vertical-align :bottom; width:100%; text-align:center ">
<tr>
<td style=" width:90%;font-size:10pt"><br />北京波尔世通信息技术有限公司 版权所有 电话:(010)51627228 email: bestts@126.com
</td>
</tr>
</table>
</td>
<td style="background-image:url('images/new/121_57.gif'); height:51px ;width: 29px;"></td>
</tr>
</table>
<%--地图 结束 --%>
<%--左恻操作栏 开始--%>
<div id="divFunSub" style="background-image:url('images/toolbar03.gif'); position:absolute; left:27px; top :128px; width: 80px; height: 405px; display:block">
<table border ="0" cellpadding="0" cellspacing="0" >
<tr style ="height:40px">
<td style="width: 60px"></td>
<td style="width: 32px"></td>
<td style="width: 51px"></td>
<td style="width: 42px">
</td>
</tr>
<tr>
<td style="width:60px; height: 15px"> </td>
<td style="width: 32px; height: 15px">
<img onmousedown="SwitchBtn(2107,'Down')" id="img2107" onmouseover="SwitchBtn(2107,'Over')"
alt="空操作" style="cursor: hand" onclick="SMISActionStart('MapControl1','');"
onmouseout="SwitchBtn(2107,'Out')" src="images/btn_2107_off.gif" title="空操作">
</td>
<td style="width: 51px; height: 10px">
<asp:ImageButton onmousedown="SwitchBtn(27,'Down')" ID="img27" onmouseover="SwitchBtn(27,'Over')"
AlternateText="清除标记点" Style="cursor: hand" onmouseout="SwitchBtn(27,'Out')" runat="server"
ImageUrl="images/btn_27_off.gif" ToolTip="清除标记点" OnClick="img27_Click"></asp:ImageButton></td>
<td style="width: 42px"></td>
</tr>
<tr>
<td style="width:60px; height: 15px"> </td>
<td style="width: 32px; height: 15px">
<smis:ViewEntireToolControl onmousedown="SwitchBtn(1,'Down')" ID="img01" onmouseover="SwitchBtn(1,'Over')"
Style="cursor: hand" onmouseout="SwitchBtn(1,'Out')" runat="server" ImageUrl="images/btn_01_off.gif"
MapControlID="MapControl1" ToolTip="全幅显示"></smis:ViewEntireToolControl>
</td>
<td style="width: 51px; height: 10px"> <img onmousedown="SwitchBtn(6,'Down')" id="img06" onmouseover="SwitchBtn(6,'Over')"
alt="地图平移" style="cursor: hand" onclick="SMISActionStart('MapControl1','PAN');"
onmouseout="SwitchBtn(6,'Out')" src="images/btn_06_off.gif" title="地图平移"></td>
<td style="width: 42px"></td>
</tr>
<tr>
<td style="width: 60px; height: 10px;"></td>
<td style="width: 32px; height: 10px;"> <asp:ImageButton onmousedown="showBusyFlag('MapControl1');SwitchBtn(2,'Down')" ID="img02"
onmouseover="SwitchBtn(2,'Over')" ToolTip="快速放大" Style="cursor: hand" onmouseout="SwitchBtn(2,'Out')"
runat="server" ImageUrl="images/btn_02_off.gif" OnClick="img02_Click" ></asp:ImageButton></td>
<td style="width: 51px; height: 10px;"><asp:ImageButton onmousedown="showBusyFlag('MapControl1');SwitchBtn(3,'Down')" ID="img03"
onmouseover="SwitchBtn(3,'Over')" ToolTip="快速缩小" Style="cursor: hand" onmouseout="SwitchBtn(3,'Out')"
runat="server" ImageUrl="images/btn_03_off.gif" OnClick="img03_Click"></asp:ImageButton></td>
<td style="width: 42px; height: 10px;"></td>
</tr>
<tr>
<td style="width: 60px; height: 10px;"></td>
<td style="width: 32px; height: 10px;"><img onmousedown="SwitchBtn(4,'Down')" id="img04" onmouseover="SwitchBtn(4,'Over')"
alt="拉框放大" style="cursor: hand" onclick="SMISActionStart('MapControl1','ZOOMIN')"
onmouseout="SwitchBtn(4,'Out')" src="images/btn_04_off.gif" title="拉框放大"></td>
<td style="width: 51px; height: 10px;"><img onmousedown="SwitchBtn(5,'Down')" id="img05" onmouseover="SwitchBtn(5,'Over')"
alt="拉框缩小" style="cursor: hand" onclick="SMISActionStart('MapControl1','ZOOMOUT');"
onmouseout="SwitchBtn(5,'Out')" src="images/btn_05_off.gif" title="拉框缩小"></td>
<td style="width: 42px; height: 10px;"></td>
</tr>
<tr>
<td style="width: 60px; height: 10px;"></td>
<td style="width: 32px; height: 10px;">
<!-- Previous Map -->
<asp:ImageButton onmousedown="SwitchBtn(7,'Down')" ID="img07" onmouseover="SwitchBtn(7,'Over')"
ToolTip="前一视图" Style="cursor: hand" onmouseout="SwitchBtn(7,'Out')" runat="server"
ImageUrl="images/btn_07_off.gif" OnClick="img07_Click"></asp:ImageButton></td>
<td style="width: 51px; height: 10px;">
<!-- Next Map -->
<asp:ImageButton onmousedown="SwitchBtn(8,'Down')" ID="img08" onmouseover="SwitchBtn(8,'Over')"
ToolTip="后一视图" Style="cursor: hand" onmouseout="SwitchBtn(8,'Out')" runat="server"
ImageUrl="images/btn_08_off.gif" OnClick="img08_Click"></asp:ImageButton></td>
<td style="width: 42px; height: 10px;"></td>
</tr>
<tr>
<td style="width: 60px; height: 10px;"></td>
<td style="width: 32px; height: 10px;">
<!-- MEASUREDIS -->
<img onmousedown="SwitchBtn(15,'Down')" id="img15" onmouseover="SwitchBtn(15,'Over')"
alt="距离量算" style="cursor: hand" onclick="SMISActionStart('MapControl1','MEASUREDIS');"
onmouseout="SwitchBtn(15,'Out')" src="images/btn_15_off.gif" title="距离量算"></td>
<td style="width: 51px; height: 10px;">
<!-- MEASUREAREA -->
<img onmousedown="SwitchBtn(16,'Down')" id="img16" onmouseover="SwitchBtn(16,'Over')"
alt="面积量算" style="cursor: hand" onclick="SMISActionStart('MapControl1','MEASUREAREA');"
onmouseout="SwitchBtn(16,'Out')" src="images/btn_16_off.gif" title ="面积量算"></td>
<td style="width: 42px; height: 10px;"></td>
</tr>
<tr>
<td style="width: 60px; height: 10px;"></td>
<td style="width: 32px; height: 10px;"> <img onmousedown="SwitchBtn(9,'Down')" id="img09" onmouseover="SwitchBtn(9,'Over')"
alt="地图打印" style="cursor: hand" onclick="PrintMap();"
onmouseout="SwitchBtn(9,'Out')" src="images/btn_09_off.gif" title="地图打印"><!-- Clear Mark Point --></td>
<td style="width: 51px; height: 10px;"> </td>
<td style="width: 42px; height: 10px;"></td>
</tr>
<tr>
<td style="width: 60px; height: 10px;"></td>
<td style="width: 32px; height: 10px;"></td>
<td style="width: 51px; height: 30px;">
<br />
</td>
<td style="width: 42px; height: 10px;"></td>
</tr>
<tr>
<td style="width: 60px; height: 10px;"></td>
<td style="width: 32px; height: 10px;"><asp:ImageButton onmousedown="SwitchBtn(13,'Down')" ID="Img13" onmouseover="SwitchBtn(13,'Over')"
AlternateText="链路" Style="cursor: hand" onmouseout="SwitchBtn(13,'Out')" runat="server"
ImageUrl="images/btn_13_off.gif" ToolTip="链路" OnClick="ImgBtn13_Click" ></asp:ImageButton></td>
<td style="width: 51px; height: 10px;"><img onmousedown="SwitchBtn(34,'Down')" id="img34" onmouseover="SwitchBtn(34,'Over')"
alt="鹰眼" style="cursor: hand" onclick="MapView();"
onmouseout="SwitchBtn(34,'Out')" src="images/btn_34_off.gif" title="鹰眼" ></td>
<td style="width: 42px; height: 10px;"></td>
</tr>
<tr>
<td style="width: 60px"></td>
<td style="width: 32px"><img onmousedown="SwitchBtn(14,'Down')" id="img14" onmouseover="SwitchBtn(14,'Over')"
alt="拉框查询" style="cursor: hand" onclick="QueryByRectangle();"
onmouseout="SwitchBtn(14,'Out')" src="images/btn_14_off.gif" title="拉框查询" /></td>
<td style="width: 51px"><img onmousedown="SwitchBtn(22,'Down')" id="img22" onmouseover="SwitchBtn(22,'Over')"
alt="圆形查询" style="cursor: hand" onclick="QueryByCircle();"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -