nnnjjj123
2020-11-17 1b2c1edb61190eeb19f465ff031eaa3b2a1b8dbc
config.json
@@ -13,10 +13,9 @@
    ],
    "version": "2.10"
  },
  "modeUrl": "http://www.sw797.com:801/gzsw3D/v2/data/mx/",
  "cesiumToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2ODUxMWQxMC1lNzZjLTRhZjktYmZiMS1lNWFmYWJkZWIwOTEiLCJpZCI6MTQxNzMsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NjQ5Njg5NzV9.ojKhhmjl8L0EtxsZC14LZgmXn5VVS0CRBCYuRK_DdIo",
  "authorizedCrossOriginDomains": [],
  "title": "水文水生态综合信息管理平台",
  "title": "虚拟地理环境三维平台",
  "subtitle": "",
  "keepAppState": true,
  "logo": "images/app-logo.png",
@@ -75,6 +74,178 @@
          "height": "auto",
          "relativeTo": "map"
        }
      },
      {
        "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": [],
@@ -94,155 +265,34 @@
      "right": 0,
      "bottom": 0
    },
    "basemaps": [
      {
        "label": "行政区划",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/jctczt/MapServer",
        "layers": "0",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "河流水系",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/jctczt/MapServer",
        "layers": "1",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "铁路公路",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/jctczt/MapServer",
        "layers": "2",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "高速公路",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/jctczt/MapServer",
        "layers": "3",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      }
    ],
    "swzwLayers": [
      {
        "label": "水文站",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/swzwzt/MapServer",
        "layers": "0",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "水位站",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/swzwzt/MapServer",
        "layers": "1",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "雨量站",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/swzwzt/MapServer",
        "layers": "2",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "水质站",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/swzwzt/MapServer",
        "layers": "3",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "中小河流站",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/swzwzt/MapServer",
        "layers": "4",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "水库水位站",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/jctczt/MapServer",
        "layers": "2",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      }
    ],
    "shLayers": [
      {
        "label": "山洪隐患点",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/shskzt/MapServer",
        "layers": "0",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "大型水库",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/shskzt/MapServer",
        "layers": "1",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "中型水库",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/shskzt/MapServer",
        "layers": "2",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "小型水库",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/shskzt/MapServer",
        "layers": "3",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      }
    ],
    "djyLayers": [
      {
        "label": "东江源区水系图",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/djysx/MapServer",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "水文监测基本站网",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/djyswjcjbzw/MapServer",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "专项分析研究实验站网",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/djyztfxsyzw/MapServer",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      },
      {
        "label": "遥测站点",
        "url": "http://171.35.109.175:18080/arcgis/rest/services/GZSW/djyyczw/MapServer",
        "type": "arcgis",
        "icon": "images/basemaps/tiandituimage.png",
        "show": false
      }
    ],
    "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": "天地图全球影像地图服务(国家测绘局)",
@@ -271,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",
@@ -325,20 +331,73 @@
            "url": "http://www.sw797.com:801/gzsw3D/v2/data/wp/{z}/{x}/{y}.png"
          }
        ]
      }
    ],
    "terrainProviderViewModels": [
      {
        "name": "无地形",
        "tooltip": "WGS84标准球体",
        "iconUrl": "images/basemaps/TerrainEllipsoid.png",
        "url": ""
      },
      {
        "name": "赣州地形",
        "tooltip": "由 普适科技 提供的赣州地形",
        "iconUrl": "images/basemaps/TerrainSTK.png",
        "url": "http://www.sw797.com:801/gzsw3D/v2/data/gzdx"
        "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"
          }
        ]
      }
    ],
    "mapOptions": {
@@ -380,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": []
  },