From 1b2c1edb61190eeb19f465ff031eaa3b2a1b8dbc Mon Sep 17 00:00:00 2001
From: nnnjjj123 <494715143@qq.com>
Date: Tue, 17 Nov 2020 10:43:54 +0800
Subject: [PATCH] 地图图标

---
 config.json |  330 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 285 insertions(+), 45 deletions(-)

diff --git a/config.json b/config.json
index 379be78..cc1d00f 100644
--- a/config.json
+++ b/config.json
@@ -78,6 +78,174 @@
       {
         "name": "右键菜单",
         "uri": "widgets/ContextMenu/Widget"
+      },
+      {
+        "uri": "widgets/Layermanagement/Widget",
+        "position": {
+          "right": 82,
+          "top": 55,
+          "height": "32px",
+          "width": "72px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/Basemap/Widget",
+        "position": {
+          "right": 10,
+          "top": 55,
+          "height": "32px",
+          "width": "72px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/Tool/Widget",
+        "position": {
+          "right": 154,
+          "top": 55,
+          "height": "32px",
+          "width": "96px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/VrButton/Widget",
+        "position": {
+          "right": 10,
+          "bottom": 120,
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/HelpButton/Widget",
+        "position": {
+          "right": 10,
+          "bottom": 80,
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/HomeButton/Widget",
+        "position": {
+          "right": 10,
+          "bottom": 200,
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/FullScreen/Widget",
+        "position": {
+          "right": 10,
+          "bottom": 160,
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/SceneMode/Widget",
+        "position": {
+          "right": 10,
+          "bottom": 40,
+          "relativeTo": "map"
+        }
+      },
+      {
+        "uri": "widgets/ShowPosition/Widget",
+        "position": {
+          "right": 0,
+          "bottom": 0,
+          "width": "100%",
+          "height": "25px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "图上量算",
+        "uri": "widgets/Measurement/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "350px",
+          "height": "320px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "要素标绘",
+        "uri": "widgets/Plot/Widget",
+        "position": {
+          "left": 120,
+          "top": 44,
+          "width": "730px",
+          "height": "38px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "卷帘对比",
+        "uri": "widgets/Rolling/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "400px",
+          "height": "50px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "分屏对比",
+        "uri": "widgets/Screen/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "400px",
+          "height": "50px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "我的标记",
+        "uri": "widgets/Sign/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "320px",
+          "height": "360px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "坐标定位",
+        "uri": "widgets/CoorPosition/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "217px",
+          "height": "180px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "场景快照",
+        "uri": "widgets/MapPrinting/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "200px",
+          "height": "40px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "路线导航",
+        "uri": "widgets/RouteNavigate/Widget",
+        "position": {
+          "right": 10,
+          "top": 96,
+          "width": "300px",
+          "height": "780px",
+          "relativeTo": "map"
+        }
       }
     ],
     "groups": [],
@@ -98,6 +266,33 @@
       "bottom": 0
     },
     "imageryProviderViewModels": [
+      {
+        "name": "天地图矢量",
+        "tooltip": "天地图矢量",
+        "iconUrl": "images/basemaps/tianditushiliang.png",
+        "layers": [
+          {
+            "label": "天地图矢量",
+            "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": "wmts",
+            "url": "http://t0.tianditu.gov.cn/cva_w/wmts?tk=e9533f5acb2ac470b07f406a4d24b4f0",
+            "layer": "cva",
+            "style": "default",
+            "format": "tiles",
+            "tileMatrixSetID": "w",
+            "maximumLevel": 17
+          }
+        ]
+      },
       {
         "name": "天地图影像",
         "tooltip": "天地图全球影像地图服务(国家测绘局)",
@@ -126,50 +321,6 @@
         ]
       },
       {
-        "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": "wmts",
-            "url": "http://t0.tianditu.gov.cn/vec_w/wmts?tk=e9533f5acb2ac470b07f406a4d24b4f0",
-            "layer": "vec",
-            "style": "default",
-            "format": "tiles",
-            "tileMatrixSetID": "w",
-            "maximumLevel": 17
-          },
-          {
-            "label": "天地图矢量标注",
-            "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/gzyx.png",
@@ -178,6 +329,73 @@
             "label": "赣州市离线影像",
             "type": "url",
             "url": "http://www.sw797.com:801/gzsw3D/v2/data/wp/{z}/{x}/{y}.png"
+          }
+        ]
+      },
+      {
+        "name": "谷歌",
+        "tooltip": "谷歌",
+        "iconUrl": "images/basemaps/guge.jpg",
+        "layers": [
+          {
+            "label": "谷歌",
+            "type": "gg"
+          }
+        ]
+      },
+      {
+        "name": "百度",
+        "tooltip": "百度",
+        "iconUrl": "images/basemaps/baidu.png",
+        "layers": [
+          {
+            "label": "百度",
+            "type": "baidu",
+            "style": "traffic"
+          }
+        ]
+      },
+      {
+        "name": "高德",
+        "tooltip": "高德",
+        "iconUrl": "images/basemaps/gaod.png",
+        "layers": [
+          {
+            "label": "高德",
+            "type": "gaod"
+          }
+        ]
+      },
+      {
+        "name": "腾讯",
+        "tooltip": "腾讯",
+        "iconUrl": "images/basemaps/tenx.png",
+        "layers": [
+          {
+            "label": "腾讯",
+            "type": "tenx",
+            "layer": "img",
+            "style": 2
+          }
+        ]
+      },
+      {
+        "name": "ArcGis",
+        "tooltip": "ArcGis",
+        "iconUrl": "images/basemaps/gis.jpg",
+        "layers": [
+          {
+            "type": "ArcGis"
+          }
+        ]
+      },
+      {
+        "name": "mapbox",
+        "tooltip": "mapbox",
+        "iconUrl": "images/basemaps/mapbox.jpg",
+        "layers": [
+          {
+            "type": "mapbox"
           }
         ]
       }
@@ -221,7 +439,29 @@
       }
     },
     "widgets": [
-     
+      {
+        "name": "轨迹线",
+        "uri": "widgets/PathShow/Widget"
+      },
+      {
+        "name": "剖面分析",
+        "uri": "widgets/MapSection/Widget",
+        "position": {
+          "left": 20,
+          "top": 90,
+          "width": "440px",
+          "height": "320px",
+          "relativeTo": "map"
+        }
+      },
+      {
+        "name": "鹰眼地图",
+        "uri": "widgets/HawkEyeMap/Widget"
+      },
+      {
+        "name": "图片动画",
+        "uri": "widgets/PictureAnimation/Widget"
+      }
     ],
     "groups": []
   },

--
Gitblit v1.9.3