diff --git a/src/views/sponeScreen/cityGK/PhysicalGeography.vue b/src/views/sponeScreen/cityGK/PhysicalGeography.vue index 6d9aef7..9a17811 100644 --- a/src/views/sponeScreen/cityGK/PhysicalGeography.vue +++ b/src/views/sponeScreen/cityGK/PhysicalGeography.vue @@ -90,6 +90,8 @@ 'oneCenter1_label', 'oneCenter2', 'oneCenter2_label', + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', ]); bus.emit('setIniteLayer', [ { @@ -126,6 +128,8 @@ 'oneCenter1_label', 'oneCenter2', 'oneCenter2_label', + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', ]); bus.emit('setIniteLayer', [ // { @@ -162,6 +166,8 @@ 'oneCenter1_label', 'oneCenter2', 'oneCenter2_label', + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', ]); bus.emit('setIniteLayer', [ // { @@ -199,6 +205,10 @@ if (newfiberMapbox.map.getLayer('demo:hn_kf_hm_dilei')) { newfiberMapbox.map.setLayoutProperty('demo:hn_kf_hm_dilei', 'visibility', 'none'); } + newfiberMapBoxVectorLayer.removeByIds([ + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', + ]); bus.emit('setIniteLayer', [ // { // layername: 'buildingModel', diff --git a/src/views/sponeScreen/cityGK/PhysicalGeography.vue b/src/views/sponeScreen/cityGK/PhysicalGeography.vue index 6d9aef7..9a17811 100644 --- a/src/views/sponeScreen/cityGK/PhysicalGeography.vue +++ b/src/views/sponeScreen/cityGK/PhysicalGeography.vue @@ -90,6 +90,8 @@ 'oneCenter1_label', 'oneCenter2', 'oneCenter2_label', + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', ]); bus.emit('setIniteLayer', [ { @@ -126,6 +128,8 @@ 'oneCenter1_label', 'oneCenter2', 'oneCenter2_label', + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', ]); bus.emit('setIniteLayer', [ // { @@ -162,6 +166,8 @@ 'oneCenter1_label', 'oneCenter2', 'oneCenter2_label', + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', ]); bus.emit('setIniteLayer', [ // { @@ -199,6 +205,10 @@ if (newfiberMapbox.map.getLayer('demo:hn_kf_hm_dilei')) { newfiberMapbox.map.setLayoutProperty('demo:hn_kf_hm_dilei', 'visibility', 'none'); } + newfiberMapBoxVectorLayer.removeByIds([ + 'rainAreaLayer', //年经总量控制率 + 'rainAreaLayer_label', + ]); bus.emit('setIniteLayer', [ // { // layername: 'buildingModel', diff --git a/src/views/sponeScreen/cityGK/cityplanning.vue b/src/views/sponeScreen/cityGK/cityplanning.vue index 76bd845..8763843 100644 --- a/src/views/sponeScreen/cityGK/cityplanning.vue +++ b/src/views/sponeScreen/cityGK/cityplanning.vue @@ -6,7 +6,7 @@