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

📄 default.aspx

📁 显示ARCGIS 地图的 TIP 信息 即 地图MAP-TEXT-TIP
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=9.2.0.1324, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86"
    Namespace="ESRI.ArcGIS.ADF.Web.UI.WebControls" TagPrefix="esri" %>

<!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 runat="server">
    <title>无标题页</title>
</head>
<script language=javascript  src="JScript.js">

</script>
<body>
    <form id="form1" runat="server">
    <div>
    <div id="poi_detail" style="position:absolute; z-index:8;left:500px; top:380px; visibility:hidden"> 
<table width="260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">  
                        <tr>
                             <td style="width: 10px; height: 7px"><img src="images/top_left.gif" width="9" height="7"></td>
                             <td style="height: 7px"><img src="images/top_bg.gif" width="100%" height="7"></td>
                             <td width="9" style="height: 7px"><img src="images/top_right.gif" width="9" height="7"></td>
                        </tr><tr>
                             <td style="width: 10px"><img src="image/left_bg.gif" width="9" height="150"></td>
                             <td valign="top" bgcolor="#FFFFFF">
                                  <table width="100%" border="0" cellspacing="0" cellpadding="5">
                                      <tr>
                                           <td bgcolor="#eeeeee"><span style="width:183px;font-size:14px;"><b>点击查询结果: &nbsp; &nbsp; &nbsp; &nbsp;
                                               &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</b></span><img src="images/close.gif" style="CURSOR: hand; width: 18px;" align="absmiddle" height="16" onClick="document.getElementById('poi_detail').style.visibility ='hidden';"></td>
                                       </tr><tr>
                                            <td style="font-size:12px;"><b>城市名称:</b><input id="poi_id" name="" type="text" readonly="true" class="text-mm"></td>
                                       </tr> <tr>
                                            <td style="font-size:12px;"><b>国家名称:</b><input  id = "poi_name" name="" type="text" readonly="true" class="text-mm"></td>
                                       </tr>
                                   </table>
                                </td>                        
                                <td><img src="image/right_bg.gif" width="9" height="150"></td>         
                            </tr><tr>                            
                                  <td height="7" style="width: 10px"><img src="image/bottom_left.gif" width="9" height="7"></td>                           
                                  <td><img src="image/bottom_bg.gif" width="100%" height="7"></td>                                      <td><img src="image/bottom_right.gif" width="9" height="7"></td>                                  </tr>
                         </table>
                      </td>
                </tr>
            </table>
       </div>
        <esri:Toolbar ID="Toolbar1" runat="server" Width="630px" BuddyControlType="Map" Group="Toolbar1_Group" Height="50px" ToolbarItemDefaultStyle-BackColor="White" ToolbarItemDefaultStyle-Font-Names="Arial" ToolbarItemDefaultStyle-Font-Size="Smaller" ToolbarItemDisabledStyle-BackColor="White" ToolbarItemDisabledStyle-Font-Names="Arial" ToolbarItemDisabledStyle-Font-Size="Smaller" ToolbarItemDisabledStyle-ForeColor="Gray" ToolbarItemHoverStyle-BackColor="White" ToolbarItemHoverStyle-Font-Bold="True" ToolbarItemHoverStyle-Font-Italic="True" ToolbarItemHoverStyle-Font-Names="Arial" ToolbarItemHoverStyle-Font-Size="Smaller" ToolbarItemSelectedStyle-BackColor="White" ToolbarItemSelectedStyle-Font-Bold="True" ToolbarItemSelectedStyle-Font-Names="Arial" ToolbarItemSelectedStyle-Font-Size="Smaller" WebResourceLocation="/aspnet_client/ESRI/WebADF/">
             <ToolbarItems>
                 <esri:Tool ClientAction="DragRectangle" DefaultImage="~/Images/zoomin.GIF" HoverImage="~/Images/zoominU.gif"
                     JavaScriptFile="" Name="MapZoomIn" SelectedImage="~/Images/zoominD.gif" ServerActionAssembly="ESRI.ArcGIS.ADF.Web.UI.WebControls"
                     ServerActionClass="ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools.MapZoomIn" Text="Zoom In"
                     ToolTip="Zoom In" />
                 <esri:Tool ClientAction="DragRectangle" DefaultImage="~/Images/zoomout.GIF" HoverImage="~/Images/zoomoutU.gif"
                     JavaScriptFile="" Name="MapZoomOut" SelectedImage="~/Images/zoomoutD.gif" ServerActionAssembly="ESRI.ArcGIS.ADF.Web.UI.WebControls"
                     ServerActionClass="ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools.MapZoomOut" Text="Zoom Out"
                     ToolTip="Zoom Out" />
                 <esri:Tool ClientAction="DragImage" DefaultImage="~/Images/pan.gif" HoverImage="~/Images/panU.gif"
                     JavaScriptFile="" Name="MapPan" SelectedImage="~/Images/panD.gif" ServerActionAssembly="ESRI.ArcGIS.ADF.Web.UI.WebControls"
                     ServerActionClass="ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools.MapPan" Text="Pan"
                     ToolTip="Pan" />
                 <esri:Command ClientAction="" DefaultImage="~/Images/fullext.gif" HoverImage="~/Images/fullextU.gif"
                     JavaScriptFile="" Name="MapFullExtent" SelectedImage="~/Images/fullextD.gif"
                     ServerActionAssembly="ESRI.ArcGIS.ADF.Web.UI.WebControls" ServerActionClass="ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools.MapFullExtent"
                     Text="Full Extent" ToolTip="Full Extent" />
                 <esri:Tool ClientAction="Point" DefaultImage="~/Images/identify.png" HoverImage="~/Images/identify_HOVER.gif"
                     JavaScriptFile="" Name="MapIdentify" SelectedImage="~/Images/identify_ON.gif"
                     ServerActionAssembly="App_Code" ServerActionClass="IdentifyPopUpTool" Text="Identify"
                     ToolTip="Identify (Ctrl-MouseClick)" />
             </ToolbarItems>
             <BuddyControls>
                 <esri:BuddyControl Name="Map1" />
             </BuddyControls>
         </esri:Toolbar>
        <div id="Map_Panel">
        <esri:Map ID="Map1" runat="server" Height="356px" MapResourceManager="MapResourceManager1"
            Width="497px" style="left: -4px; position: relative; top: 2px">
            <esri:MapToolItem Name="MapToolItem0" />
        </esri:Map>
        </div>
        <br />
        <esri:MapResourceManager ID="MapResourceManager1" runat="server">
            <ResourceItems>
                <esri:MapResourceItem Definition="&lt;Definition DataSourceDefinition=&quot;flychj&quot; DataSourceType=&quot;ArcGIS Server Local&quot; Identity=&quot;To set, right-click project and 'Add ArcGIS Identity'&quot; ResourceDefinition=&quot;(default)@World&quot; DataSourceShared=&quot;True&quot; /&gt;"
                    DisplaySettings="visible=True:transparency=0:mime=True:imgFormat=PNG8:height=100:width=100:dpi=96:color=:transbg=False:displayInToc=True"
                    Name="MapResourceItem0" />
            </ResourceItems>
        </esri:MapResourceManager>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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