From 2cc5220ef0dbfaca2c4afcd4000c243a9e63551c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 02 Jun 2021 16:49:46 +0800
Subject: [PATCH] 去除头部菜单栏,删除相关配置,部分样式调整,我的标记放入工具栏

---
 config.json                |  211 ++++++++++++++++++++++++----------------------------
 widgets/Tool/Widget.html   |    1 
 index.html                 |    4 
 widgets/Sign/css/style.css |    1 
 4 files changed, 101 insertions(+), 116 deletions(-)

diff --git a/config.json b/config.json
index a791462..76028ff 100644
--- a/config.json
+++ b/config.json
@@ -16,37 +16,35 @@
   "modeUrl": "http://www.sw797.com:801/gzsw3D/v2/data/mx/",
   "cesiumToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2ODUxMWQxMC1lNzZjLTRhZjktYmZiMS1lNWFmYWJkZWIwOTEiLCJpZCI6MTQxNzMsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NjQ5Njg5NzV9.ojKhhmjl8L0EtxsZC14LZgmXn5VVS0CRBCYuRK_DdIo",
   "authorizedCrossOriginDomains": [],
-  "title": "智慧湾里三维电子沙盘",
+  "title": "鄱阳湖数据一张图",
   "subtitle": "",
   "keepAppState": true,
   "logo": "",
   "geometryService": "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",
-  "links": [
-    {
-      "label": "",
-      "url": ""
-    }
-  ],
+  "links": [{
+    "label": "",
+    "url": ""
+  }],
   "widgetOnScreen": {
-    "widgets": [
-      {
-        "uri": "themes/FoldableTheme/widgets/HeaderController/Widget",
-        "position": {
-          "left": 0,
-          "top": 0,
-          "right": 0,
-          "height": 70,
-          "relativeTo": "browser"
-        }
-      },
-      {
+    "widgets": [{
         "uri": "widgets/CommonBase/Widget"
+      },
+
+      {
+        "uri": "widgets/Tool/Widget",
+        "position": {
+          "right": 154,
+          "top": 20,
+          "height": "32px",
+          "width": "96px",
+          "relativeTo": "map"
+        }
       },
       {
         "uri": "widgets/Layermanagement/Widget",
         "position": {
           "right": 82,
-          "top": 55,
+          "top": 20,
           "height": "32px",
           "width": "72px",
           "relativeTo": "map"
@@ -56,22 +54,13 @@
         "uri": "widgets/Basemap/Widget",
         "position": {
           "right": 10,
-          "top": 55,
+          "top": 20,
           "height": "32px",
           "width": "72px",
           "relativeTo": "map"
         }
       },
-      {
-        "uri": "widgets/Tool/Widget",
-        "position": {
-          "right": 154,
-          "top": 55,
-          "height": "32px",
-          "width": "96px",
-          "relativeTo": "map"
-        }
-      },
+
       {
         "uri": "widgets/HelpButton/Widget",
         "position": {
@@ -164,6 +153,16 @@
           "height": "780px",
           "relativeTo": "map"
         }
+      }, {
+        "name": "我的标记",
+        "uri": "widgets/Sign/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "320px",
+          "height": "360px",
+          "relativeTo": "map"
+        }
       }
     ],
     "groups": [],
@@ -185,72 +184,85 @@
     },
     "imageryProviderViewModels": [
       {
+        "name": "天地图影像",
+        "tooltip": "天地图全球影像地图服务(国家测绘局)",
+        "iconUrl": "images/basemaps/tiandituimage.png",
+        "layers": [
+          {
+            "label": "天地图影像",
+            "type": "wmts",
+            "url": "http://t0.tianditu.gov.cn/img_w/wmts?tk=e9533f5acb2ac470b07f406a4d24b4f0",
+            "layer": "img",
+            "style": "default",
+            "format": "tiles",
+            "tileMatrixSetID": "w",
+            "maximumLevel": 17
+          },
+          {
+            "label": "天地图影像标注",
+            "type": "wmts",
+            "url": "http://t0.tianditu.gov.cn/cia_w/wmts?tk=e9533f5acb2ac470b07f406a4d24b4f0",
+            "layer": "cia",
+            "style": "default",
+            "format": "tiles",
+            "tileMatrixSetID": "w",
+            "maximumLevel": 17
+          }
+        ]
+      },
+      {
+        "name": "赣州电子地图",
+        "tooltip": "赣州电子地图",
+        "iconUrl": "images/basemaps/tianditushiliang.png",
+        "layers": [
+          {
+            "label": "赣州电子地图",
+            "type": "wmts",
+            "url": "http://sw797.com:6080/arcgis/rest/services/GZHS/MapServer/WMTS",
+            "layer": "GZHS",
+            "style": "default",
+            "format": "image/jpgpng",
+            "tileMatrixSetID": "default028mm",
+            "maximumLevel": 17
+          }
+        ]
+      },
+      {
         "name": "天地图矢量",
         "tooltip": "天地图矢量",
         "iconUrl": "images/basemaps/tianditushiliang.png",
         "layers": [
           {
             "label": "天地图矢量",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-tianditu/rest/maps/矢量底图_经纬度",
-            "maximumLevel": 16,
-            "minimumLevel":0
-          },
-          {
-            "label": "矢量L7L17",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-arcgis-NCVECNCDLGCGCS2000BLL7L172019NEW/rest/maps/NCDLG_CGCS2000BL_L7L17_2019NEW",
-            "maximumLevel": 16,
-            "minimumLevel":0
-          },
-          {
-            "label": "矢量L18L20",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-arcgis-NCVECNCDLGDTCGCS2000BLL18L202019NEW/rest/maps/NCDLGDT_CGCS2000BL_L18L20_2019NEW",
-            "maximumLevel": 19,
-            "minimumLevel":0
+            "type": "wmts",
+            "url": "http://t0.tianditu.gov.cn/vec_w/wmts?tk=e9533f5acb2ac470b07f406a4d24b4f0",
+            "layer": "vec",
+            "style": "default",
+            "format": "tiles",
+            "tileMatrixSetID": "w",
+            "maximumLevel": 17
           },
           {
             "label": "天地图矢量标注",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-tianditu/rest/maps/矢量中文注记_经纬度",
-            "maximumLevel": 19,
-            "minimumLevel":0
+            "type": "wmts",
+            "url": "http://t0.tianditu.gov.cn/cva_w/wmts?tk=e9533f5acb2ac470b07f406a4d24b4f0",
+            "layer": "cva",
+            "style": "default",
+            "format": "tiles",
+            "tileMatrixSetID": "w",
+            "maximumLevel": 17
           }
         ]
-      },
+      },      
       {
-        "name": "天地图影像",
-        "tooltip": "天地图影像",
-        "iconUrl": "images/basemaps/tiandituimage.png",
+        "name": "离线影像",
+        "tooltip": "赣州市离线影像",
+        "iconUrl": "images/basemaps/gzyx.png",
         "layers": [
           {
-            "label": "天地图影像",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-tianditu/rest/maps/影像底图_经纬度",
-            "maximumLevel": 16,
-            "minimumLevel":0
-          },
-          {
-            "label": "影像L7L17",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-arcgis-NCDOMNCDOMCGCS2000BLL7L172019NEW/rest/maps/NCDOM_CGCS2000BL_L7L17_2019NEW",
-            "maximumLevel": 16,
-            "minimumLevel":0
-          },
-          {
-            "label": "影像L18L20",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-arcgis-NCDOMNCDOMCGCS2000BLL18L202019NEW/rest/maps/NCDOM_CGCS2000BL_L18L20_2019NEW",
-            "maximumLevel": 19,
-            "minimumLevel":0
-          },
-          {
-            "label": "天地图影像标注",
-            "type": "SuperMap",
-            "url": "http://61.131.223.3:8090/iserver/services/map-tianditu/rest/maps/影像中文注记_经纬度",
-            "maximumLevel": 19,
-            "minimumLevel":0
+            "label": "赣州市离线影像",
+            "type": "url",
+            "url": "http://www.sw797.com:10011/gzsw3D/v2/data/wp/{z}/{x}/{y}.png"
           }
         ]
       }
@@ -266,7 +278,7 @@
         "name": "赣州地形",
         "tooltip": "由 普适科技 提供的赣州地形",
         "iconUrl": "images/basemaps/TerrainSTK.png",
-        "url": "http://www.sw797.com:801/gzsw3D/v2/data/gzdx"
+        "url": "http://www.sw797.com:10011/gzsw3D/v2/data/gzdx"
       }
     ],
     "mapOptions": {
@@ -307,36 +319,7 @@
         "relativeTo": "map"
       }
     },
-    "widgets": [
-      {
-        "name": "景点介绍",
-        "uri": "widgets/Scenic/Widget"
-      },{
-        "name": "旅游路线",
-        "uri": "widgets/PathShow/Widget"
-      },
-      {
-        "name": "飞行路线",
-        "uri": "widgets/SuperMapFlyRoute/Widget",
-        "position": {
-          "left": 20,
-          "top": 60,
-          "width": "260px",
-          "height": "64%",
-          "relativeTo": "map"
-        }
-      }, {
-        "name": "我的标记",
-        "uri": "widgets/Sign/Widget",
-        "position": {
-          "left": 20,
-          "top": 60,
-          "width": "320px",
-          "height": "360px",
-          "relativeTo": "map"
-        }
-      }
-    ],
+    "widgets": [],
     "groups": []
   },
   "loadingPage": {
diff --git a/index.html b/index.html
index 229999e..54e99b6 100644
--- a/index.html
+++ b/index.html
@@ -229,7 +229,7 @@
     window.Cesium = Cesium;
   </script> -->
 <script type="text/javascript" src="init.js"></script>
-<script>
+<!-- <script>
 
     var indData = [];
 
@@ -386,6 +386,6 @@
     }
 
 
-</script>
+</script> -->
 </body>
 </html>
\ No newline at end of file
diff --git a/widgets/Sign/css/style.css b/widgets/Sign/css/style.css
index bed5335..254d337 100644
--- a/widgets/Sign/css/style.css
+++ b/widgets/Sign/css/style.css
@@ -7,6 +7,7 @@
   /* opacity      : .8; */
   color: rgb(238, 235, 235);
   font-size: 16px;
+  display: none;
 }
 
 #sign_table {
diff --git a/widgets/Tool/Widget.html b/widgets/Tool/Widget.html
index d72c1ed..52ffba7 100644
--- a/widgets/Tool/Widget.html
+++ b/widgets/Tool/Widget.html
@@ -6,6 +6,7 @@
 				<li><i></i> <span class="measure-tool">图上量算</span></li>
 				<!--<li><i></i> <span class="rolling-tool">卷帘对比</span></li>-->
 				<!--<li><i></i> <span class="location-tool">查询定位</span></li>-->
+				<li><i></i> <span class="sign-tool">我的标记</span></li>
 				<li><i></i> <span class="CoorPosition-tool">坐标定位</span></li>
 				<li><i></i> <span class="MapPrinting-tool">地图打印</span></li>
 				<li><i></i> <span class="RouteNavigate-tool">路线导航</span></li>

--
Gitblit v1.9.3