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

📄 mainwebform.aspx

📁 supermap开发的基站管理系统
💻 ASPX
📖 第 1 页 / 共 5 页
字号:
          }  
          else
          {
            document.getElementById("divMap").style.display="block";
            divMapView="block";
            SMISActionStart('mapControl2','POINTQUERY');
          }
    }
    function ScaleView()
    {
        if(document.getElementById("divScale").style.display=="block")
          {
            document.getElementById("divScale").style.display="none";
            divScaleSub="none";
          }  
          else
          {
            document.getElementById("divScale").style.display="block";
            divScaleSub="block";
          }
    }
    
   
    var width;
    function ResetViewSize()
    {
        document.getElementById("divLayerControl").style.height=screen.height-376;
        document.getElementById("divQueryResult").style.height=screen.height-380;
        document.getElementById("divQueryType").style.height=screen.height-353;
        document.getElementById("divMapQueryResult").style.height=screen.height-485;
        document.getElementById("divScale").style.left=500;
        document.getElementById("divScale").style.top =screen.height-215;
    }
    function ResetViewPosition()
    { //alert(map_x);
    //  alert(divMapView);
        if(map_x)
        {
          // alert(map_x);
            document.getElementById("divMap").style.left =map_x;
             document.getElementById("divMap").style.top  =map_y;
        }
        else
        {
            document.getElementById("divMap").style.left =screen.width -288;
            document.getElementById("divMap").style.top =screen.height-410;
         }
         //alert(rightTool_X);
          if(rightTool_X)
        {
          // alert(map_x);
            document.getElementById("divRightFun").style.left =rightTool_X;
             document.getElementById("divRightFun").style.top  =rightTool_Y;
        }
        else
        {
            document.getElementById("divRightFun").style.left =screen.width -280;
            document.getElementById("divRightFun").style.top =screen.height-680;
         }
         try
         {
            document.getElementById("divMap").style.display =divMapView;
            
          }
          catch(err)
         {
         }
         try
         {
            document.getElementById("divScale").style.display =divScaleSub;
            
          }
          catch(err)
         {
         }
         try
         {
              if(divFun=="none")
              {
                document.getElementById("divFunSub").style.display="none";
                document.getElementById("image1").src="images/door_right.gif";
                 document.getElementById("image1").alt="显示";
                divFun="none"; //alert(divFun);
              }  
              else
              {
                document.getElementById("divFunSub").style.display="block";
                document.getElementById("image1").src="images/door_left.gif";
                document.getElementById("image1").alt="隐藏";
                divFun="block";
                // alert("klkl");
              }
          
         //   document.getElementById("divFunSub").style.display =divFun;
            var top=document.getElementById("image1").offsetParent.offsetTop ;
          //  alert("top" +top);
            var funHeight=document.getElementById("divFunSub").style.height.substr(0,3);
          //   alert("hunHeight" + funHeight);
            var funtop=top-(funHeight-200)/2;
       
         //  alert(funtop);
            document.getElementById("divFunSub").style.top =funtop;
            
          }
          catch(err)
         {
         }
         try
         {
            // alert(divRightFun);
              if(divRightFun=="block")
              {
                 document.getElementById("divRightFun").style.display="block";
                //document.getElementById("imageRight").src="images/door_right.gif";
                // document.all["imageRight"].alt="隐藏";
                divRightFun="block";
               
              }  
              else
              {
                 document.getElementById("divRightFun").style.display="none";
              //  document.getElementById("imageRight").src="images/door_left.gif";
               // document.all["imageRight"].alt="显示";
                divRightFun="none";
              }
            //  alert(divRightFun);
             // document.getElementById("divRightFun").style.display =divRightFun;
          }
          catch(err)
         {
         }
         try
         {
            OutLook(divRight)
           //  document.getElementById("divLayerSub").style.display =divLayer;
          }
          catch(err)
         {
         }
//         try
//         {
//             document.getElementById("divQuerySub").style.display =divQuery;
//          }
//          catch(err)
//         {
//         }
//        try
//         {
//             document.getElementById("divTypeQuerySub").style.display =divTypeQuery;
//          }
//          catch(err)
//         {
//         }
        // alert(divLayer);
        // alert(divRightFun);
        // alert(screen.width + "+" + document.getElementById("divRightFun").style.width)
         document.getElementById("divRightFun").style.left =screen.width -298;
    }
    
  window.onload= function()
    {
  
        ResetViewPosition();
        ResetViewSize();
        ShowDialog();
 
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无线电管理地理信息系统</title>
    <link href ="css/page.css" rel ="Stylesheet" />
    <link href ="css/LayerControl.css" rel="stylesheet" />
    <link href ="css/RightMenu.css" rel ="stylesheet" />
    <script src ="js/Page.js" type ="text/javascript" ></script>
</head>
<body>
    <form id="form1" runat="server" style ="overflow:auto ">
        <table  width="100%" border ="0" cellpadding ="0" cellspacing ="0">
            <tr>
                <td style="background-image:url(images/new/tou.gif); width:100%; height: 77px;"></td>
            </tr>
        </table>
        <%--地图 开始--%>
        <table id="tabMap" style ="width:100%"   border ="0" cellpadding="0" cellspacing="0">
            <tr>
                <td style="background-image:url('images/new/121_03.gif'); width: 29px; height: 14px;"></td>
                <td style="background-image:url('images/new/121_05.gif'); height:14px"></td>
                <td style="background-image:url('images/new/121_09.gif'); height:14px ;width: 31px;"></td>
            </tr>
             <tr>
                <td style="background-image:url(images/new/121_21.gif); text-align:right; width: 29px;"><div style ="width:10px; text-align:left"><img id="image1" src ="images/door_left.gif" onclick ="ToolBar()" style ="cursor:pointer" alt ="隐藏"/></div></td>
                <td > <smis:MapControl  runat="server" BusyFlag-ImageUrl="images/rollingbar.gif" oncontextmenu="return false;" 
                        QuickPan-Enabled="True" BorderStyle="Solid" BorderWidth="0px" BorderColor="Gray"
                        UseCachedMap="false" ImageHandler-Enabled="True"  ID="MapControl1"  Width="940px" Height="490px" onmousemove="ShowCursorPos()"  OnAreaMeasured="MapControl1_AreaMeasured" OnDistanceMeasured="MapControl1_DistanceMeasured" OnPreRender="MapControl1_PreRender" OnQueryCompleted="MapControl1_QueryCompleted" OnQuerying="MapControl1_Querying" MapName="jzmap" MaxScale="0" MinScale="0" OnMapSwitched="MapControl1_MapSwitched" OnViewBoundsChanged="MapControl1_ViewBoundsChanged" MapUrl=""  /></td>
                <td style="background-image:url('images/new/121_14.gif');text-align:left;"></td>
            </tr>
            <tr style="height:10px" >
                <td style="background-image:url(images/new/121_21.gif); text-align:right; width: 29px;"></td>
                <td style ="background-color:rgb(221,239,255)">
                    <table border=0; cellpadding =0; cellspacing =0 style="margin:0 0 0 0" >
                        <tr><td style ="width:5px"></td>
                             <td style ="font-size:10pt">经度:</td>
                            <td style="width:102px; text-align:left;font-size:10pt"><div id="mouseX" style =""></div></td>
                            <td style ="font-size:10pt">纬度:</td>
                            <td style="width:75px; text-align:left;font-size:10pt"><div id="mousey"  ></div></td>
                            <td style ="font-size:10pt">当前比例尺 1:</td>
                            <td  style ="text-align:left;font-size:10pt;width:110px;"><asp:Label ID="labelScale" runat ="server" ></asp:Label>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="background-image:url('images/new/121_14.gif');text-align:left;"></td>
            </tr>
             <tr>
                <td style="background-image:url('images/new/121_53.gif'); width: 29px; height: 51px;"></td>
                <td style="background-image:url('images/new/121_55.gif'); height:51px ;  text-align:right  ; font-size: 10pt; color: blue; width:94%">
                    <table style ="vertical-align :bottom; width:100%; text-align:center  ">
                        <tr>
                            <td style=" width:90%;font-size:10pt"><br />北京波尔世通信息技术有限公司 版权所有 电话:(010)51627228 email: bestts@126.com
                            </td>                           
                         </tr>
                   </table>
              </td>
                <td style="background-image:url('images/new/121_57.gif'); height:51px ;width: 29px;"></td>
            </tr>
        </table>
        <%--地图 结束 --%>
        

⌨️ 快捷键说明

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