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

📄 mapform.aspx

📁 Get Map Coordinat by click on map
💻 ASPX
字号:
<%--//////////////////////////////////////////////////////////////////////////////////////////////
//
//   (c) Pitney Bowes MapInfo Corporation, 2008.  All rights reserved.
//
//   This software is only provided as a demonstration by MapInfo.  
//   No licence or other right is granted.  
//   No use, transmission or copying is permitted.
//
//   This software is provided by MapInfo "as is" and any express or implied warranties, 
//   including, but not limited to, the implied warranties of merchantability and fitness 
//   for a particular purpose are disclaimed.  In no event shall MapInfo be liable for any 
//   direct, indirect, incidental, special, exemplary, or consequential damages (including, 
//   but not limited to, procurement of substitute goods or services; loss of use, data or
//   profits; or business interruption) however caused and whether in contract, strict 
//   liability, or tort (including negligence) arising in any way out of the use of this 
//   software, even if advised of the possibility of such damage.
//
//////////////////////////////////////////////////////////////////////////////////////////////--%>

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="MapForm.aspx.vb" Inherits="_Default" %>

<%@ Register Assembly="MapInfo.WebControls, Version=6.8.0.536, Culture=neutral, PublicKeyToken=0a9556cc66c0af57"
    Namespace="MapInfo.WebControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head id="Head1" runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <script language="javascript" src="Coordinat.js" type="text/javascript"></script>
        <div id="tips">
            </div>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top">
                    <img src="images/mi_logo.gif" alt="MapInfo" /></td>
                <td background="images/header_bg.gif" width="100%">
                    <img src="images/header_bg.gif" alt="" /></td>
                <td>
                    <img src="images/mapxtreme_logo.gif" alt="MapXtreme" /></td>
            </tr>
        </table>
        <table style="position: absolute; left: 24px; top: 240px;">
            <tr>
                <td>
                    <img alt="" src="MapXtremeWebResources/ZoomInToolControlActive.gif" /></td>
            </tr>
            <tr>
                <td>
                    <cc1:ZoomBarTool ID="ZoomBarTool1" runat="server" ZoomLevel="500" MapControlID="MapControl1" />
                </td>
            </tr>
            <tr>
                <td>
                    <cc1:ZoomBarTool ID="ZoomBarTool2" runat="server" ZoomLevel="1500" MapControlID="MapControl1" />
                </td>
            </tr>
            <tr>
                <td>
                    <cc1:ZoomBarTool ID="ZoomBarTool3" runat="server" ZoomLevel="3550" MapControlID="MapControl1" />
                </td>
            </tr>
            <tr>
                <td>
                    <cc1:ZoomBarTool ID="ZoomBarTool4" runat="server" ZoomLevel="6500" MapControlID="MapControl1" />
                </td>
            </tr>
            <tr>
                <td>
                    <cc1:ZoomBarTool ID="ZoomBarTool5" runat="server" ZoomLevel="12500" MapControlID="MapControl1" />
                </td>
            </tr>
            <tr>
                <td>
                    <img alt="" src="MapXtremeWebResources/ZoomOutToolControlActive.gif" /></td>
            </tr>
        </table>
        <table style="position: absolute; left: 93px; top: 146px;">
            <tr>
                <td>
                    <cc1:NorthWestNavigationTool ID="NorthWestNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:NorthNavigationTool ID="NorthNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:NorthEastNavigationTool ID="NorthEastNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
            </tr>
            <tr>
                <td>
                    <cc1:WestNavigationTool ID="WestNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td style="position: relative">
                    <cc1:MapControl ID="MapControl1" runat="server" Height="248px" Width="393px" MapAlias="Map1" />
                </td>
                <td>
                    <cc1:EastNavigationTool ID="EastNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
            </tr>
            <tr>
                <td>
                    <cc1:SouthWestNavigationTool ID="SouthWestNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:SouthNavigationTool ID="SouthNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:SouthEastNavigationTool ID="SouthEastNavigationTool1" runat="server" MapControlID="MapControl1" />
                </td>
            </tr>
        </table>
        <table style="position: absolute; left: 552px; top: 146px;">
            <tr>
                <td style="height: 251px">
                    <cc1:LayerControl ID="LayerControl1" runat="server" MapControlID="MapControl1" />
                </td>
            </tr>
        </table>
        <table style="position: absolute; left: 263px; top: 467px;">
            <tr>
                <td>
                    <cc1:ZoomInTool ID="ZoomInTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:ZoomOutTool ID="ZoomOutTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:CenterTool ID="CenterTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:PanTool ID="PanTool1" runat="server" MapControlID="MapControl1" />
                </td>
                <td>
                    <cc1:PointSelectionTool ID="PointSelectionTool2" runat="server" ClientCommand="getKoordinat"
                        Command="ClsCoordinat" ToolTip="Get map Coordinate" MapControlID="MapControl1"
                        ActiveImageUrl="MapXtremeWebResources/InfoToolControlActive.gif" InactiveImageUrl="MapXtremeWebResources/InfoToolControlInactive.gif"
                        CursorImageUrl="MapXtremeWebResources/Pin.cur" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

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