📄 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">
<table id="Table_01" cellspacing="0" cellpadding="0" width="1001" border="0">
<tr>
<td rowspan="5">
<img height="538" src="images/design_01.gif" width="8" /></td>
<td colspan="6">
<img height="58" src="images/design_02.gif" width="992" /></td>
<td>
<img height="58" src="images/spacer.gif" width="1" /></td>
</tr>
<tr>
<td colspan="6">
<img height="32" src="images/design_03.gif" width="992" /></td>
<td>
<img height="32" src="images/spacer.gif" width="1" /></td>
</tr>
<tr>
<td valign="top" width="81" background="images/design_04.gif" height="448" rowspan="3">
<br />
<br />
<!-- Toolbar -->
<div id="divToolbar" style="border-right: medium none; border-top: medium none; z-index: 101;
visibility: visible; overflow: hidden; border-left: medium none; border-bottom: medium none;
position: absolute">
<!-- Toolbar -->
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table onclick="if(toolbar_body.style.visibility!='hidden'){toolbar_body.style.visibility='hidden';toolbar_body.style.display='none';} else{toolbar_body.style.visibility='visible';toolbar_body.style.display='block';}"
cellspacing="0" cellpadding="0" width="61" border="0">
<tr>
<td>
<img height="22" src="images/toolbar_01.gif" width="5"></td>
<td>
<img height="22" src="images/toolbar_02.gif" width="50"></td>
<td>
<img height="22" src="images/toolbar_03.gif" width="6"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="toolbar_body" style="display: block" cellspacing="0" cellpadding="0" width="61"
border="0">
<tr>
<td width="5" background="images/toolbar_04.gif">
</td>
<td valign="top" width="50" bgcolor="#e8e8e8" height="200">
<table id="tb_btn" style="visibility: visible" cellspacing="0" cellpadding="0" width="50" align="center" bgcolor="#e8e8e8" border="0">
<tr>
<td>
<img height="10" src="images/spacer.gif"></td>
<td>
<img height="10" src="images/spacer.gif"></td>
</tr>
<tr>
<td>
<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>
<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"></asp:ImageButton></td>
</tr>
<tr>
<td>
<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"></asp:ImageButton></td>
<td height="21">
<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"></td>
</tr>
<tr>
<td>
<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"></td>
<td height="23">
<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"></td>
</tr>
<tr>
<td>
<!-- 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"></asp:ImageButton></td>
<td>
<!-- 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"></asp:ImageButton></td>
</tr>
<tr>
<td>
<!-- 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"></td>
<td>
<!-- 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"></td>
</tr>
<tr>
<td>
<!-- Point Query -->
<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"></td>
<td>
<!-- Rect Query -->
<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"></td>
</tr>
<tr>
<td>
<!-- Polygon Query -->
<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"></td>
<td>
<!-- Circle Query -->
<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"></td>
</tr>
<tr>
<td>
<!-- Print Map -->
<img onmousedown="SwitchBtn(9,'Down')" id="img09" 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"></td>
<td>
<!-- Find Path -->
<img onmousedown="SwitchBtn(10,'Down')" id="img10" onmouseover="SwitchBtn(10,'Over')"
alt="路径分析" style="cursor: hand" onclick="SMISActionStart('MapControl1','FINDPATH');"
onmouseout="SwitchBtn(10,'Out')" src="images/btn_10_off.gif"></td>
</tr>
<tr>
<td>
<!-- Mark Custom Label -->
<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></td>
<td>
<!-- Clear Custom Label -->
<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></td>
</tr>
<tr>
<td>
<!-- Point Select -->
<img onmousedown="SwitchBtn(26,'Down')" id="img26" onmouseover="SwitchBtn(26,'Over')" alt="添加标记点"
style="cursor: hand" onclick="SMISActionStart('MapControl1','PointSelect')" onmouseout="SwitchBtn(26,'Out')"
src="images/btn_26_off.gif"></td>
<td>
<!-- Clear Mark Point -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -