From 7123f37c05179936a2f23eb56e0544fc624bc47e Mon Sep 17 00:00:00 2001 From: liqi <1174845810@qq.com> Date: Sat, 5 Apr 2025 18:58:49 +0800 Subject: [PATCH] 1 --- public/configJson/mapArea.json | 19 +++++++++++++++--- src/components/myMarsmap.vue | 11 +++++------ src/views/contentData/headerTop/index.vue | 24 ++++++++++++++++++----- src/views/contentData/index.js | 11 ++++++++++- src/views/menuData/PermissionDialog.vue | 2 +- 5 files changed, 51 insertions(+), 16 deletions(-) diff --git a/public/configJson/mapArea.json b/public/configJson/mapArea.json index f9ca4f8..32c0a4c 100644 --- a/public/configJson/mapArea.json +++ b/public/configJson/mapArea.json @@ -62,10 +62,23 @@ }, "basemaps": [ { - "id": "", + "id": 2021, + "pid": 10, "name": "天地图影像", - "type": "xyz", - "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", + "icon": "https://data.mars3d.cn/img/thumbnail/basemap/tdt_img.png", + "type": "group", + "layers": [ + { + "name": "底图", + "type": "tdt", + "layer": "img_d" + }, + { + "name": "注记", + "type": "tdt", + "layer": "img_z" + } + ], "show": true } ], diff --git a/src/components/myMarsmap.vue b/src/components/myMarsmap.vue index bcbea5a..68f78c0 100644 --- a/src/components/myMarsmap.vue +++ b/src/components/myMarsmap.vue @@ -9,9 +9,9 @@ >
- +