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

📄 mapform.aspx

📁 c#中用MapXtreme开发的地理信息系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="MapForm.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="MapInfo.Web, Version=4.0.0.428, Culture=neutral, PublicKeyToken=1687fa7c79f74305"
    Namespace="MapInfo.Web.UI.WebControls" TagPrefix="MapInfoWebUIWebControls" %>

<%@ Register Assembly="MapInfo.WebControls, Version=4.0.0.428, Culture=neutral, PublicKeyToken=0a9556cc66c0af57"
    Namespace="MapInfo.WebControls" TagPrefix="cc1" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
-->
</style></head>
<body style="margin: 0px; border-right: silver 1px solid; border-top: silver 1px solid; border-left: silver 1px solid; border-bottom: silver 1px solid; font-size: 10pt; color: black;">
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td style="width: 100px; height:25; background-color: silver">
                </td>
                <td style="width: 100px; background-color: silver">
                    <table border="0" cellpadding="0" cellspacing="0" width="240">
                        <tr>
                            <td style="width: 40px">
                                <cc1:PanTool ID="PanTool1" runat="server" MapControlID="MapControl1" />
                            </td>
                            <td style="width: 40px">
                                <cc1:ZoomInTool ID="ZoomInTool1" runat="server" MapControlID="MapControl1"/>
                            </td>
                            <td style="width: 40px">
                                <cc1:ZoomOutTool ID="ZoomOutTool1" runat="server" MapControlID="MapControl1" />
                            </td>
                            <td style="width: 40px">
                                <cc1:PointSelectionTool ID="PointSelectionTool1" runat="server" ActiveImageUrl="MapXtremeWebResources/InfoToolControlActive.gif"
                                    ClientCommand="InfoCommand" Command="Info" InactiveImageUrl="MapXtremeWebResources/InfoToolControlInactive.gif"
                                    MapControlID="MapControl1" />
                            </td>
                            <td style="width: 40px">
                            </td>
                            <td style="width: 40px">
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 100px; background-color: silver">
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 263px;">
                </td>
                <td style="width: 775px; position:relative; background-image: url(images/bj_map.jpg); height: 263px;">
                    <cc1:MapControl ID="MapControl1" runat="server" Height="248px" Width="393px"  MapAlias="Map1"/>
                </td>
                <td style="width: 100px; height: 263px;">
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 15px;">
                </td>
                <td style="width: 100px; height: 15px;">
                </td>
                <td style="width: 100px; height: 15px;">
                </td>
            </tr>
        </table>
        
        
        <div id="Info" style="z-index: 201; left: 9px; width: 245px; position: absolute;top: 488px; height: 11px; visibility:hidden; border-right: silver 1px solid; border-top: silver 1px solid; border-left: silver 1px solid; border-bottom: silver 1px solid; margin: 0px; background-color: lightyellow;">
        
        
        </div>

    </form>
    <script language="javascript" type="text/javascript">
   
    </script>
</body>

</html>

⌨️ 快捷键说明

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