updata
1 parent ff22946 commit 5f5de64d69934960b9b2713c5fa05f5f3aacf180
@jimengfei jimengfei authored on 14 Oct
Showing 4 changed files
View
81
public/static/libs/mapbox/style/floodOneMap.json
}
],
"columns": "type",
"filter": "type in ('ws','hs')"
},
{
"id": "sx_ya_smx_rq_line",
"key": "sx_ya_smx_rq_line_sz",
"type": "LineLayer",
"show": false,
"params": {
"autoFit": false,
"zIndex": 1
},
"methods": [
{
"name": "size",
"params": [
3
]
},
{
"name": "shape",
"params": [
"line"
]
},
{
"name": "texture",
"params": [
"02"
]
},
{
"name": "color",
"params": [
"color",
"''||function(v){\n let key = [\"#FF0002\", \"rgba(234,26,26,1)\", \"rgba(249,227,28,1)\",\"rgba(25,201,25,1)\",\"rgba(29,53,234,1)\"];\n let colors = ['#FF0002', 'rgba(234,26,26,1)', 'rgba(249,227,28,1)','rgba(25,201,25,1)','rgba(29,53,234,1)'];\n return colors[key.indexOf(v)];\n }"
]
},
{
"name": "animate",
"params": [
{
"interval": 1,
"duration": 2,
"trailLength": 2
}
]
},
{
"name": "style",
"params": [
{
"opacity": 0.6,
"lineTexture": true,
"iconStep": 100,
"borderWidth": 0.4,
"borderColor": "#fff"
}
]
}
]
},
{
"id": "",
"key": "warning_monitor",
"key": "sx_ya_smx_rq_line",
"type": "line",
"filter": [
"in",
"color",
"level",
""
],
"paint": {
"line-color": [
"rq_pipeline_info"
],
"filter": [
[
"rgba(249,227,28,1)"
"A\t",
"B\t"
]
]
},
"rq_TYLH": {
"rq_pipeline_info"
],
"filter": [
[
"#FF0002"
"C\t"
]
]
},
"rq_LGLH": {
"rq_pipeline_info"
],
"filter": [
[
"rgba(25,201,25,1)"
"D\t"
]
]
},
"rq_other": {
"rq_pipeline_info"
],
"filter": [
[
"rgba(29,53,234,1)"
"\"\"\t"
]
]
},
"rq_all": {
"rq_pipeline_info"
],
"filter": [
[
"#FF0002",
"rgba(234,26,26,1)",
"rgba(249,227,28,1)",
"rgba(25,201,25,1)",
"rgba(29,53,234,1)"
"A\t",
"B\t",
"C\t",
"D\t",
"\"\"\t"
]
]
},
"tiaoYaQi": {
View
40
src/views/oneMap/LayerControl/LayerControl.vue
*@param layerVisible:代表当前图层是否勾选,true:勾选中且地图上图;false:不勾选且地图不上图
*/
LayerData: [
{
title: "基本信息",
title: '基本信息',
Show: true,
children: [
{
layerName: '蓝色地图',
},
],
},
{
title: "燃气系统",
title: '燃气系统',
Show: true,
children: [
{
layerName: '燃气管网',
layerKey: 'rq_all',
layerIcon: null,
layerVisible: false,
},
{
layerName: '市政管网',
layerKey: 'rq_SZLH',
layerIcon: null,
layerVisible: false,
},
{
layerName: '庭院管网',
layerKey: 'rq_TYLH',
layerIcon: null,
layerVisible: false,
},
{
layerName: '立管',
layerKey: 'rq_LGLH',
layerIcon: null,
layerVisible: false,
},
{
layerName: '其他管网',
layerKey: 'rq_other',
layerIcon: null,
layerVisible: false,
},
{
layerName: '燃气管网流向',
layerKey: 'sx_ya_smx_rq_line_sz',
layerIcon: null,
layerVisible: false,
},
{
},
],
},
{
title: "雨水系统",
title: '雨水系统',
Show: true,
children: [
{
layerName: '雨水分区',
},
],
},
{
title: "污水系统",
title: '污水系统',
Show: true,
children: [
{
layerName: '污水分区',
},
],
},
{
title: "感知设备",
title: '感知设备',
Show: true,
children: [
{
layerName: '内涝易涝点',
View
src/views/oneMap/components/ZHRQ.vue
View
src/views/oneMap/index.vue