⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo.aspx

📁 使用ASP.NET 2.0 (c#) 实现的gis 的地图系统
💻 ASPX
📖 第 1 页 / 共 3 页
字号:
                                                            <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></td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <!-- Switch Map -->
                                                            <img onmousedown="SwitchBtn(25,'Down')" id="img25" onmouseover="SwitchBtn(25,'Over')" alt="切换地图"
                                                                style="cursor: hand" onclick="SwitchListVisibility(event,'lstMaps')" onmouseout="SwitchBtn(25,'Out')"
                                                                src="images/btn_25_off.gif"></td>
                                                        <td>
                                                            <!-- Clear Highlight -->
                                                            <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></td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <!-- Add Entity -->
                                                            <img onmousedown="SwitchBtn(28,'Down')" id="img28" onmouseover="SwitchBtn(28,'Over')" alt="添加几何对象"
                                                                style="cursor: hand" onclick="SwitchToolboxTab(4,2); SwitchEditDiv(1);" onmouseout="SwitchBtn(28,'Out')"
                                                                src="images/btn_28_off.gif"></td>
                                                        <td>
                                                            <!-- Update Entity -->
                                                            <img onmousedown="SwitchBtn(29,'Down')" id="img29" onmouseover="SwitchBtn(29,'Over')" alt="更新几何对象"
                                                                style="cursor: hand" onclick="SwitchToolboxTab(4,2); SwitchEditDiv(2); SMISActionStart('MapControl1','SelectEntity'); SMISCreateHiddenField(document.forms[0], 'EditAction', 'EditAction', 'Update');"
                                                                onmouseout="SwitchBtn(29,'Out')" src="images/btn_29_off.gif"></td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <!-- offset Entity -->
                                                            <img onmousedown="SwitchBtn(31,'Down')" id="img31" onmouseover="SwitchBtn(31,'Over')" alt="平移几何对象"
                                                                style="cursor: hand" onclick="SwitchToolboxTab(4,2); SwitchEditDiv(2); SMISActionStart('MapControl1','SelectEntity'); SMISCreateHiddenField(document.forms[0], 'EditAction', 'EditAction', 'Move');"
                                                                onmouseout="SwitchBtn(31,'Out')" src="images/btn_31_off.gif"></td>
                                                        <td>
                                                            <!-- Delete Entity -->
                                                            <img onmousedown="SwitchBtn(30,'Down')" id="img30" onmouseover="SwitchBtn(30,'Over')" alt="删除几何对象"
                                                                style="cursor: hand" onclick="SwitchToolboxTab(4,2); SwitchEditDiv(2); SMISActionStart('MapControl1','SelectEntity'); SMISCreateHiddenField(document.forms[0], 'EditAction', 'EditAction', 'Delete');"
                                                                onmouseout="SwitchBtn(30,'Out')" src="images/btn_30_off.gif"></td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <!-- Closest Facility -->
                                                            <img onmousedown="SwitchBtn(32,'Down')" id="img32" onmouseover="SwitchBtn(32,'Over')" alt="查找最近设施点"
                                                                style="cursor: hand" onclick="SwitchListVisibility(event,'lstPointLayers'); SMISActionStart('MapControl1','CLOSESTFACILITY'); "
                                                                onmouseout="SwitchBtn(32,'Out')" src="images/btn_32_off.gif"></td>
                                                        <td>
                                                            <!-- Legend -->
                                                            <img onmousedown="SwitchBtn(33,'Down')" id="img33" onmouseover="SwitchBtn(33,'Over')" alt="查看图例"
                                                                style="cursor: hand" onclick="OpenLegendWindow('legendControl1')" onmouseout="SwitchBtn(33,'Out')"
                                                                src="images/btn_33_off.gif"></td>
                                                    </tr>
                                                    <tr>
                                                        <td height="5">
                                                            <img height="5" src="images/spacer.gif"></td>
                                                        <td height="5">
                                                            <img height="5" src="images/spacer.gif"></td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="6" background="images/toolbar_06.gif">
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table id="toolbar_footer" cellspacing="0" cellpadding="0" width="61" border="0">
                                        <tr>
                                            <td colspan="3">
                                                <img height="3" src="images/toolbar_07.gif" width="61"></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                        <!-- End Toolbar -->
                    </div>
                    <!-- End Of Toolbar -->
                </td>
                <td colspan="2" rowspan="3">
                    <smis:MapControl ID="MapControl1" runat="server" BusyFlag-ImageUrl="images/rollingbar.gif"
                        QuickPan-Enabled="True" BorderStyle="Solid" BorderWidth="0px" BorderColor="Gray"
                        Width="664px" Height="448px" UseCachedMap="true" ImageHandler-Enabled="true"></smis:MapControl>
                </td>
                <td width="28" background="images/design_06.gif" height="448" rowspan="3">
                </td>
                <td>
                    <img height="10" src="images/design_07.gif" width="196"></td>
                <td valign="top" width="23" background="images/design_08.gif" height="511" rowspan="5">
                    <!-- TOOLBOX TAB -->
                    <!-- <IMG Src="images/is_12.gif" Width=27 Height=419> -->
                    <table cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <img id="tbt_1" style="cursor: hand" onclick="SwitchToolboxTab(1, 1)" src="images/ToolboxTab_1_off.gif"></td>
                        </tr>
                        <tr>
                            <td>
                                <img id="tbt_2" style="cursor: hand" onclick="SwitchToolboxTab(2, 2)" src="images/ToolboxTab_2_on.gif"></td>
                        </tr>
                        <tr>
                            <td>
                                <img id="tbt_3" style="cursor: hand" onclick="SwitchToolboxTab(3, 3)" src="images/ToolboxTab_3_off.gif"></td>
                        </tr>
                        <!--
							-->
                    </table>
                    <!-- END OF TOOLBOX TAB -->
                </td>
                <td>
                    <img height="10" src="images/spacer.gif" width="1"></td>
            </tr>
            <tr>
                <td width="196" background="images/design_09.gif" height="145">
                    <!-- OVERVIEW -->
                    <smis:OverviewControl ID="OverviewControl1" runat="server" MapControlID="MapControl1"
                        ImageHandlerEnabled="True" BorderStyle="Solid" BorderWidth="0px" BorderColor="Gray"
                        Width="196px" Height="145px" IndexBoxBorderWidth="1px"></smis:OverviewControl>
                    <!-- END OF OVERVIEW -->
                </td>
                <td>
                    <img height="145" src="images/spacer.gif" width="1"></td>
            </tr>
            <tr>
                <td valign="top" background="images/design_10.gif" rowspan="3">
                    <!-- TOOLBOX -->
                    <div style="width: 10px; height: 20px">
                    </div>
                    <!--Search Box-->
                    <div class="divs" id="Toolbox_2" style="display: block; visibility: visible">
                        &nbsp;
                        <asp:TextBox class="inputBox" ID="txtSQLQuery" runat="server"
                            size="16"></asp:TextBox><asp:Button class="query0" ID="btnSQLQuery" onmouseover="this.className='query1'"
                                onmouseout="this.className='query0'" runat="server" Text="查询" OnClick="btnSQLQuery_Click">
                            </asp:Button><br />
                        <asp:Label ID="lblMsg" Visible="False" runat="server" EnableViewState="False"></asp:Label><br />
                        <div id="DivQueryResult" style="overflow: auto; width: 186px; height: 230px">
                        </div>
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:Button ID="btnQueryPreviousPage" Text="前一页"
                            Visible="False" runat="server" class="query0" onmouseover="this.className='query1'"
                            onmouseout="this.className='query0'" OnClick="btnQueryPreviousPage_Click"></asp:Button>
                        &nbsp; &nbsp; &nbsp;
                        <asp:Button ID="btnQueryNextPage" Text="下一页" runat="server" Visible="False" class="query0"
                            onmouseover="this.className='query1'" onmouseout="this.className='query0'" OnClick="btnQueryNextPage_Click">
                        </asp:Button>
                        <br />
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:Button ID="btnClearQueryResult"
                            class="query0" onmouseover="this.className='query1'" onmouseout="this.className='query0'"
                            Text="清除查询结果" runat="server" Visible="False" OnClick="btnClearQueryResult_Click">
                        </asp:Button>
                    </div>
                    <!-- Layer Control -->
                    <!--
						-->
                    <div class="divs" id="Toolbox_1" style="display: none; font-size: 11px; left: 780px;
                        visibility: hidden; overflow: auto; width: 200px; position: absolute; top: 260px;
                        height: 304px">
                        <smis:LayerControl ID="LayerControl1" runat="server" Height="300px" Width="180px"
                            BorderColor="Gray" BorderWidth="0px" BorderStyle="Solid" MapControlID="MapControl1"
                            SubmitButtonText="提交" OverFlowEnabled="false" QueryableText="可查" LayerNameText="图层名"
                            VisibleText="可见" HeaderFont="Microsoft Sans Serif, 11pt" ItemFont="Microsoft Sans Serif, 10pt">
                        </smis:LayerControl>
                    </div>
                    <!-- Bus Analyze-->
                    <!--
						-->
                    <div class="divs" id="Toolbox_3" style="display: none; font-size: 11px; left: 12px;
                        visibility: hidden; overflow: auto; width: 186px; position: relative; height: 300px">
                        <asp:Panel ID="PanelBusResult" runat="server">
                            <iewc:TreeView ID="treeBusResult" Style="display: block; overflow:scroll;" runat="server" Height="102px"
                                Width="160px" BorderColor="gray" BorderWidth="2px" Visible="False" SelectExpands="True"
                                AutoPostBack="True"></iewc:TreeView>
                            <br />
                            <asp:Button class="query0" ID="btnBusResultCancel" onmouseover="this.className='query1'"
                                onmouseout="this.className='query0'" Text="返回查询界面" runat="server" Visible="False"
                                align="center" OnClick="btnBusResultCancel_Click"></asp:Button>

⌨️ 快捷键说明

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