📄 demo.aspx
字号:
<%@ Page Language="c#" Inherits="AspxDemo.Demo" CodeFile="Demo.aspx.cs" %>
<%@ Register TagPrefix="smis" Namespace="SuperMap.IS.WebControls" Assembly="SuperMap.IS.WebControls" %>
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SuperMap IS .NET Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="styles/main.css" />
<script type="text/javascript" src="scripts/Page.js"></script>
</head>
<body bgcolor="#ffffff" style="margin: 0" onload="Body_Load()">
<form id="form1" runat="server" oninit="Demo_Init" onprerender="Demo_PreRender">
<!-- Layer Control -->
<!--
-->
<!-- Bus Analyze-->
<!--
-->
<div style="left: 319px; visibility: hidden; position: absolute; top: 763px; width: 1px; height: 1px;">
<asp:DropDownList ID="lstMaps" Style="display: none; visibility: hidden" onmouseout="HideList()"
Visible="True" runat="server" AutoPostBack="True" OnSelectedIndexChanged="lstMaps_SelectedIndexChanged">
</asp:DropDownList><asp:DropDownList ID="lstPointLayers" Style="display: none; visibility: hidden"
Width="100px" runat="server" Visible="True" onmouseout="HideList()">
</asp:DropDownList>
</div>
<table width="1000" height="715" border="1" cellpadding="1" cellspacing="1" bordercolor="ffffff">
<tr>
<td colspan="2" background="images/banner.jpg" style="height: 80px">
<br />
<br />
<asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl="images/button01副本.jpg" OnClick="ImageButton1_Click" /><asp:ImageButton
ID="ImageButton2" runat="server" ImageUrl="images/button01副本.jpg" OnClick="ImageButton2_Click" /><asp:ImageButton
ID="ImageButton3" runat="server" ImageUrl="images/button01副本.jpg" OnClick="ImageButton3_Click" /><asp:ImageButton
ID="ImageButton4" runat="server" ImageUrl="images/button01副本.jpg" OnClick="ImageButton4_Click" />
</td>
</tr>
<tr>
<td rowspan="2" bgcolor="F4F5F7" style="width: 652px" align="center">
<table style="width: 681px; height: 476px">
<tr>
<td align="center" rowspan="3" style="width: 24px; height: 564px">
<smis:ToolbarControl ID="ToolbarControl2" runat="server" BackColor="WhiteSmoke" BorderColor="Gray"
BorderStyle="Dashed" BorderWidth="1px" Height="25px" MapControlID="MapControl1"
Width="30px">
<img onmousedown="SwitchBtn(13,'Down')" id="img13" onmouseover="SwitchBtn(13,'Over')"
alt="点选查询" style="cursor: hand" onclick="SMISActionStart('MapControl1','POINTQUERY');"
onmouseout="SwitchBtn(13,'Out')" src="images/btn_13_off.gif"><br />
<img onmousedown="SwitchBtn(14,'Down')" id="img14" onmouseover="SwitchBtn(14,'Over')"
alt="拉框查询" style="cursor: hand" onclick="SMISActionStart('MapControl1','RECTQUERY');"
onmouseout="SwitchBtn(14,'Out')" src="images/btn_14_off.gif"><br />
<img onmousedown="SwitchBtn(17,'Down')" id="img17" onmouseover="SwitchBtn(17,'Over')"
alt="多边形查询" style="cursor: hand" onclick="SMISActionStart('MapControl1','POLYGONQUERY');"
onmouseout="SwitchBtn(17,'Out')" src="images/btn_17_off.gif"><br />
<img onmousedown="SwitchBtn(22,'Down')" id="img22" onmouseover="SwitchBtn(22,'Over')"
alt="圆选查询" style="cursor: hand" onclick="SMISActionStart('MapControl1','CIRCLEQUERY');"
onmouseout="SwitchBtn(22,'Out')" src="images/btn_22_off.gif"><br />
<img onmousedown="SwitchBtn(15,'Down')" id="Img34" onmouseover="SwitchBtn(15,'Over')"
alt="距离量算" style="cursor: hand" onclick="SMISActionStart('MapControl1','MEASUREDIS');"
onmouseout="SwitchBtn(15,'Out')" src="images/btn_15_off.gif"><br />
<img onmousedown="SwitchBtn(16,'Down')" id="Img35" onmouseover="SwitchBtn(16,'Over')"
alt="面积量算" style="cursor: hand" onclick="SMISActionStart('MapControl1','MEASUREAREA');"
onmouseout="SwitchBtn(16,'Out')" src="images/btn_16_off.gif"><br />
<asp:ImageButton onmousedown="SwitchBtn(24,'Down')" ID="img24" onmouseover="SwitchBtn(24,'Over')"
AlternateText="清除自定义注记(包括标记点)" Style="cursor: hand" onmouseout="SwitchBtn(24,'Out')" runat="server"
ImageUrl="images/btn_24_off.gif"></asp:ImageButton><br />
<asp:ImageButton onmousedown="SwitchBtn(23,'Down')" ID="img23" onmouseover="SwitchBtn(23,'Over')"
AlternateText="标记自定义注记" Style="cursor: hand" onmouseout="SwitchBtn(23,'Out')" runat="server"
ImageUrl="images/btn_23_off.gif"></asp:ImageButton><br />
<img onmousedown="SwitchBtn(26,'Down')" id="Img36" onmouseover="SwitchBtn(26,'Over')" alt="添加标记点"
style="cursor: hand" onclick="SMISActionStart('MapControl1','PointSelect')" onmouseout="SwitchBtn(26,'Out')"
src="images/btn_26_off.gif"><br />
<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"></asp:ImageButton><br />
<img onmousedown="SwitchBtn(25,'Down')" id="Img37" onmouseover="SwitchBtn(25,'Over')" alt="切换地图"
style="cursor: hand" onclick="SwitchListVisibility(event,'lstMaps')" onmouseout="SwitchBtn(25,'Out')"
src="images/btn_25_off.gif"><br />
<asp:ImageButton onmousedown="SwitchBtn(11,'Down')" ID="img11" onmouseover="SwitchBtn(11,'Over')"
AlternateText="清除高亮" Style="cursor: hand" onmouseout="SwitchBtn(11,'Out')" runat="server"
ImageUrl="images/btn_11_off.gif"></asp:ImageButton><br />
<img onmousedown="SwitchBtn(33,'Down')" id="Img38" onmouseover="SwitchBtn(33,'Over')" alt="查看图例"
style="cursor: hand" onclick="OpenLegendWindow('legendControl1')" onmouseout="SwitchBtn(33,'Out')"
src="images/btn_33_off.gif"><br />
<img onmousedown="SwitchBtn(9,'Down')" id="Img39" onmouseover="SwitchBtn(9,'Over')"
alt="地图打印" style="cursor: hand" onclick="SMISPrintMap('MapControl1','AspxDemo.Demo','print.aspx');"
onmouseout="SwitchBtn(9,'Out')" src="images/btn_09_off.gif"><br />
</smis:ToolbarControl>
</td>
<td colspan="2" rowspan="3" style="width: 623px; height: 564px">
<smis:ToolbarControl ID="ToolbarControl1" runat="server" BackColor="WhiteSmoke" BorderColor="Gray"
BorderStyle="Dashed" BorderWidth="1px" Height="1px" MapControlID="MapControl1"
Width="294px">
<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>
<asp:ImageButton onmousedown="showBusyFlag('MapControl1');SwitchBtn(2,'Down')" ID="img02"
onmouseover="SwitchBtn(2,'Over')" ToolTip="快速放大" Style="cursor: hand" onmouseout="SwitchBtn(2,'Out')"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -