From 650acd89dcfc13c9dd051dd2ab29845c748df9d3 Mon Sep 17 00:00:00 2001
From: jxdnsong <592566207@qq.com>
Date: Sat, 24 Oct 2020 09:14:16 +0800
Subject: [PATCH] 新增右键菜单部件,但测试发现sdk还有问题
---
config.json | 169 +------------------------------------------------------
1 files changed, 5 insertions(+), 164 deletions(-)
diff --git a/config.json b/config.json
index 6eec78c..379be78 100644
--- a/config.json
+++ b/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,10 @@
"height": "auto",
"relativeTo": "map"
}
+ },
+ {
+ "name": "右键菜单",
+ "uri": "widgets/ContextMenu/Widget"
}
],
"groups": [],
@@ -94,154 +97,6 @@
"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": "天地图影像",
@@ -325,20 +180,6 @@
"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"
}
],
"mapOptions": {
--
Gitblit v1.9.3