From ec3342e1b34dd02f33dae9bed2db16a14ae8096d Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 21 十二月 2022 17:06:11 +0800 Subject: [PATCH] 1 --- src/components/mapsdk.vue | 58 +++++----------------------------------------------------- 1 files changed, 5 insertions(+), 53 deletions(-) diff --git a/src/components/mapsdk.vue b/src/components/mapsdk.vue index 8dfcc10..58c587c 100644 --- a/src/components/mapsdk.vue +++ b/src/components/mapsdk.vue @@ -229,56 +229,7 @@ selFrom: {}, selectTree: null, - menuList: [ - { - id: 1, - label: '涓�绾� 1', - children: [ - { - id: 4, - label: '浜岀骇 1-1', - children: [ - { - id: 9, - label: '涓夌骇 1-1-1', - }, - { - id: 10, - label: '涓夌骇 1-1-2', - }, - ], - }, - ], - }, - { - id: 2, - label: '涓�绾� 2', - children: [ - { - id: 5, - label: '浜岀骇 2-1', - }, - { - id: 6, - label: '浜岀骇 2-2', - }, - ], - }, - { - id: 3, - label: '涓�绾� 3', - children: [ - { - id: 7, - label: '浜岀骇 3-1', - }, - { - id: 8, - label: '浜岀骇 3-2', - }, - ], - }, - ], + menuList: [], defaultProps: { children: 'children', label: 'label', @@ -306,9 +257,9 @@ sgworld.Navigate.jumpTo({ //璺宠浆瑙嗚 destination: new Cesium.Cartesian3.fromDegrees( - 116.055913, - 39.937685, - 8000 + 116.3911, + 39.9115, + 100000 ), }); Viewer.imageryLayers.addImageryProvider( @@ -373,6 +324,7 @@ }; sgworld.Creator.sfsterrainprovider('mpt', option, '', true, ''); window.elevationTool = new SmartEarth.ElevationTool(window.sgworld); + elevationTool.setContourColor('#F1D487'); }, changeMenulayer() { -- Gitblit v1.9.3