diff --git a/src/assets/paishuiSupervise.json b/src/assets/paishuiSupervise.json new file mode 100644 index 0000000..eebe965 --- /dev/null +++ b/src/assets/paishuiSupervise.json @@ -0,0 +1,37 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 109.47463528829778, + 36.60780896340439 + ] + }, + "properties": { + "FID": 0, + "id": 0, + "name": "王家坪旧址门口" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 109.46886470395586, + 36.60729523067474 + ] + }, + "properties": { + "FID": 1, + "id": 1, + "name": "大砭沟与北大街交叉口" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/paishuiSupervise.json b/src/assets/paishuiSupervise.json new file mode 100644 index 0000000..eebe965 --- /dev/null +++ b/src/assets/paishuiSupervise.json @@ -0,0 +1,37 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 109.47463528829778, + 36.60780896340439 + ] + }, + "properties": { + "FID": 0, + "id": 0, + "name": "王家坪旧址门口" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 109.46886470395586, + 36.60729523067474 + ] + }, + "properties": { + "FID": 1, + "id": 1, + "name": "大砭沟与北大街交叉口" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/ranQi_supervise.json b/src/assets/ranQi_supervise.json new file mode 100644 index 0000000..f382396 --- /dev/null +++ b/src/assets/ranQi_supervise.json @@ -0,0 +1,37 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 109.4774986436632, + 36.60497748480903 + ] + }, + "properties": { + "FID": 0, + "id": 0, + "name": "延安中学" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 109.48304674487184, + 36.59982338278728 + ] + }, + "properties": { + "FID": 1, + "id": 1, + "name": "延安大学附属医院" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/paishuiSupervise.json b/src/assets/paishuiSupervise.json new file mode 100644 index 0000000..eebe965 --- /dev/null +++ b/src/assets/paishuiSupervise.json @@ -0,0 +1,37 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 109.47463528829778, + 36.60780896340439 + ] + }, + "properties": { + "FID": 0, + "id": 0, + "name": "王家坪旧址门口" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 109.46886470395586, + 36.60729523067474 + ] + }, + "properties": { + "FID": 1, + "id": 1, + "name": "大砭沟与北大街交叉口" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/ranQi_supervise.json b/src/assets/ranQi_supervise.json new file mode 100644 index 0000000..f382396 --- /dev/null +++ b/src/assets/ranQi_supervise.json @@ -0,0 +1,37 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 109.4774986436632, + 36.60497748480903 + ] + }, + "properties": { + "FID": 0, + "id": 0, + "name": "延安中学" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 109.48304674487184, + 36.59982338278728 + ] + }, + "properties": { + "FID": 1, + "id": 1, + "name": "延安大学附属医院" + } + } + ] +} \ No newline at end of file diff --git a/src/views/oneMap/LayerControl/LayerControl.vue b/src/views/oneMap/LayerControl/LayerControl.vue index 7d621ab..37e54da 100644 --- a/src/views/oneMap/LayerControl/LayerControl.vue +++ b/src/views/oneMap/LayerControl/LayerControl.vue @@ -53,6 +53,9 @@ import anXianGaiZao from '@/assets/anXianGaiZao.json'; import testProjection from '@/assets/testProjection.json'; import testProjectionLabel from '@/assets/testProjectionLabel.json'; + +import ranQi_supervise from '@/assets/ranQi_supervise.json'; +import paishuiSupervise from '@/assets/paishuiSupervise.json'; import xtb_img from '@/assets/newImgs/xtb_img.png'; import bus from '@/bus'; import axios from 'axios'; @@ -445,6 +448,20 @@ layerVisible: false, data: yanAnVideo, }, + { + layerName: '燃气监测', + layerKey: 'ranQi_supervise', + layerIcon: requireTuChengImg('tiaoYaQi'), + layerVisible: false, + data: ranQi_supervise, + }, + { + layerName: '排水监测', + layerKey: 'paishuiSupervise', + layerIcon: requireTuChengImg('rq_liuLiangJi'), + layerVisible: false, + data: paishuiSupervise, + }, ], }, ],