mcfxkh-Web/src/views/Home/MapCtrl/mapstyle/shuichangLayer.js

1163 lines
28 KiB
JavaScript
Raw Normal View History

2025-05-28 15:09:02 +08:00
import clone from "clone";
import { PicStPromise, TestPicStPromise } from "../../../../models/_/real";
import { parseGeoJSON } from "../../../../utils/tools";
import { InfoPopNames } from "../../InfoPops";
import BaseLayer from "./baselayer";
const SourceName = '水厂';
const ShapeStyle = {
id: SourceName,
type: 'symbol',
source: SourceName,
layout: {
'icon-allow-overlap': true,
'text-allow-overlap': true,
'icon-image': '水厂',
'icon-size': [
'interpolate', ['linear'], ['zoom'],
10, 0.4,
14, 0.8,
],
'text-allow-overlap': true,
'text-size': [
'interpolate', ['linear'], ['zoom'],
10, 10,
14, 14,
],
'text-font': ['Roboto Black'],
'text-field': [
'step',
['zoom'],
'',
12, ['get', 'stnm']
],
'text-anchor': 'top',
'text-offset': [0, 1],
'visibility': 'none',
},
paint: {
'text-color': '#fff'
}
};
const page1 = [
{
"stcd": "716164901",
"type": "sk",
"hasRz": true,
"stnm": "界岭水库",
"adcd": "421181107000",
"wscd": null,
"importancy": 0,
"lgtd": 115.450833,
"lttd": 31.302222,
"elev": 0,
"damel": 385.6,
"dsflz": 384.01,
"fsltdz": 382.84,
"ddz": 370.4,
"zcxsw": 382.84,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 378.57,
"w": 0.77,
"a_fsltdz": -4.269999999999982,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716164901",
"tm": "2023-03-12T07:03:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716164901/20230312150300.jpg"
},
{
"stcd": "716164901",
"tm": "2023-03-12T07:16:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716164902/20230312151600.jpg"
}
],
"aRz": -4.27
},
{
"stcd": "716165051",
"type": "sk",
"hasRz": true,
"stnm": "蛤蟆石水库",
"adcd": "421181107000",
"wscd": null,
"importancy": 0,
"lgtd": 115.452778,
"lttd": 31.258056,
"elev": 0,
"damel": 189.9,
"dsflz": 187,
"fsltdz": 184.52,
"ddz": 174.9,
"zcxsw": 184.52,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 181.33,
"w": 0.657,
"a_fsltdz": -3.1899999999999977,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716165051",
"tm": "2023-03-12T07:21:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716165051/20230312152100.jpg"
},
{
"stcd": "716165051",
"tm": "2023-03-12T07:16:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716165052/20230312151600.jpg"
}
],
"aRz": -3.19
},
{
"stcd": "716165101",
"type": "sk",
"hasRz": true,
"stnm": "游家冲水库",
"adcd": "421181107000",
"wscd": null,
"importancy": 0,
"lgtd": 115.295556,
"lttd": 31.202778,
"elev": 0,
"damel": 476.62,
"dsflz": 475.08,
"fsltdz": 473.2,
"ddz": 456.8,
"zcxsw": 473.2,
"drpTm": "2025-04-11T06:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 464.51,
"w": 0.668,
"a_fsltdz": -8.689999999999998,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716165101",
"tm": "2023-03-12T07:03:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716165101/20230312150300.jpg"
},
{
"stcd": "716165101",
"tm": "2023-03-12T07:20:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716165102/20230312152000.jpg"
}
],
"aRz": -8.69
},
{
"stcd": "716167061",
"type": "sk",
"hasRz": true,
"stnm": "花桥水库",
"adcd": "421181107000",
"wscd": null,
"importancy": 0,
"lgtd": 115.444444,
"lttd": 31.274444,
"elev": 0,
"damel": 18,
"dsflz": 14.58,
"fsltdz": 269.4,
"ddz": 4.5,
"zcxsw": 269.4,
"drpTm": "2025-03-22T08:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 265.86,
"w": 0.31,
"a_fsltdz": -3.5399999999999636,
"rzTm": "2025-03-22T08:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716167061",
"tm": "2025-03-06T04:13:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2025/0306/716167061/20250306121300.jpg"
},
{
"stcd": "716167061",
"tm": "2025-03-06T04:14:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2025/0306/716167062/20250306121400.jpg"
}
],
"aRz": -3.54
},
{
"stcd": "716130461",
"type": "sk",
"hasRz": true,
"stnm": "垅下水库",
"adcd": "421181107000",
"wscd": null,
"importancy": 0,
"lgtd": 115.364722,
"lttd": 31.218056,
"elev": 0,
"damel": 24.1,
"dsflz": 22.69,
"fsltdz": 303.2,
"ddz": 7.4,
"zcxsw": 303.2,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 302.02,
"w": 0.212,
"a_fsltdz": -1.1800000000000068,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716130461",
"tm": "2023-03-12T07:03:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716130461/20230312150300.jpg"
},
{
"stcd": "716130461",
"tm": "2023-03-12T07:11:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716130462/20230312151100.jpg"
}
],
"aRz": -1.18
},
{
"stcd": "716124861",
"type": "sk",
"hasRz": true,
"stnm": "鲤鱼河水库",
"adcd": "421181003000",
"wscd": null,
"importancy": 0,
"lgtd": 114.968056,
"lttd": 31.204722,
"elev": 0,
"damel": 81.1,
"dsflz": 79.02,
"fsltdz": 78.4,
"ddz": 71.4,
"zcxsw": 78.4,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 75.79,
"w": 0.3,
"a_fsltdz": -2.6099999999999994,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716124861",
"tm": "2023-03-12T07:02:07.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716124861/20230312150207.jpg"
},
{
"stcd": "716124861",
"tm": "2023-03-12T07:03:44.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716124862/20230312150344.jpg"
}
],
"aRz": -2.61
},
{
"stcd": "716112801",
"type": "sk",
"hasRz": true,
"stnm": "黑龙潭水库",
"adcd": "421181113000",
"wscd": null,
"importancy": 0,
"lgtd": 114.846944,
"lttd": 31.441944,
"elev": 0,
"damel": 135.91,
"dsflz": 134.31,
"fsltdz": 132.3,
"ddz": 119.6,
"zcxsw": 132.3,
"drpTm": "2025-04-11T06:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 125.17,
"w": 1.092,
"a_fsltdz": -7.13000000000001,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716112801",
"tm": "2023-11-03T05:05:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1103/716112801/20231103130500.jpg"
},
{
"stcd": "716112801",
"tm": "2023-11-03T05:12:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1103/716112802/20231103131200.jpg"
}
],
"aRz": -7.13
},
{
"stcd": "716113001",
"type": "sk",
"hasRz": true,
"stnm": "朝阳水库",
"adcd": "421181113000",
"wscd": null,
"importancy": 0,
"lgtd": 114.805278,
"lttd": 31.206667,
"elev": 0,
"damel": 104.27,
"dsflz": 102.9,
"fsltdz": 102.36,
"ddz": 90.86,
"zcxsw": 102.36,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 8.19,
"w": 0,
"a_fsltdz": -94.17,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716113001",
"tm": "2023-03-12T07:01:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716113001/20230312150100.jpg"
},
{
"stcd": "716113001",
"tm": "2023-03-12T07:08:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716113002/20230312150800.jpg"
}
],
"aRz": -94.17
},
{
"stcd": "716121901",
"type": "sk",
"hasRz": true,
"stnm": "地畈水库",
"adcd": "421181113000",
"wscd": null,
"importancy": 0,
"lgtd": 114.883056,
"lttd": 31.417778,
"elev": 0,
"damel": 106.4,
"dsflz": 105.82,
"fsltdz": 105.09,
"ddz": 98.19,
"zcxsw": 105.09,
"drpTm": "2025-04-11T06:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 100.22,
"w": 0.036,
"a_fsltdz": -4.8700000000000045,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716121901",
"tm": "2023-11-13T05:01:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1113/716121901/20231113130100.jpg"
},
{
"stcd": "716121901",
"tm": "2023-11-13T05:04:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1113/716121902/20231113130400.jpg"
}
],
"aRz": -4.87
},
{
"stcd": "716123561",
"type": "sk",
"hasRz": true,
"stnm": "大松树水库",
"adcd": "421181113000",
"wscd": null,
"importancy": 0,
"lgtd": 114.791389,
"lttd": 31.236944,
"elev": 0,
"damel": 10.54,
"dsflz": 9.12,
"fsltdz": 78.7,
"ddz": 6,
"zcxsw": 78.7,
"drpTm": "2025-04-11T06:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 76.51,
"w": 0.121,
"a_fsltdz": -2.1899999999999977,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716123561",
"tm": "2023-11-14T06:04:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1114/716123561/20231114140400.jpg"
},
{
"stcd": "716123561",
"tm": "2023-10-23T07:41:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1023/716123562/20231023154100.jpg"
}
],
"aRz": -2.19
},
{
"stcd": "61612580",
"type": "sk",
"hasRz": true,
"stnm": "芭茅河水库",
"adcd": "421181110000",
"wscd": null,
"importancy": 0,
"lgtd": 115.101389,
"lttd": 31.307778,
"elev": 0,
"damel": 127.8,
"dsflz": 125.57,
"fsltdz": 122.44,
"ddz": 106.94,
"zcxsw": 122.44,
"drpTm": "2025-05-28T06:00:00.000Z",
"today": 8.5,
"h1": 8.5,
"h3": 8.5,
"h6": 8.5,
"h12": 8.5,
"h24": 8.5,
"h48": 8.5,
"drpState": 1,
"rz": 117.52,
"w": 6.011,
"a_fsltdz": -4.920000000000002,
"rzTm": "2025-05-28T06:00:00.000Z",
"rzWarning": 0,
"rzState": 1,
"aRz": -4.92
},
{
"stcd": "7CS000231",
"type": "sk",
"hasRz": true,
"stnm": "刘家冲水库",
"adcd": "421181100000",
"wscd": null,
"importancy": 0,
"lgtd": 115.048056,
"lttd": 31.335556,
"elev": 0,
"damel": 79.6,
"dsflz": 78.65,
"fsltdz": 72.05,
"ddz": 69.55,
"zcxsw": 72.05,
"drpTm": "2023-11-20T01:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 76.49,
"w": 0.049,
"a_fsltdz": 4.439999999999998,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 1,
"rzState": 2,
"pic": [
{
"stcd": "7CS000231",
"tm": "2023-11-20T01:04:18.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1120/7CS000231/20231120090418.jpg"
},
{
"stcd": "7CS000231",
"tm": "2023-11-20T01:07:54.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/1120/7CS000232/20231120090754.jpg"
}
],
"aRz": 4.44
},
{
"stcd": "716111301",
"type": "sk",
"hasRz": true,
"stnm": "蛤蟆岗水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 115.016667,
"lttd": 31.406111,
"elev": 0,
"damel": 173.1,
"dsflz": 171.11,
"fsltdz": 170,
"ddz": 154.5,
"zcxsw": 170,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 165.85,
"w": 0.938,
"a_fsltdz": -4.150000000000006,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716111301",
"tm": "2023-03-12T07:02:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716111301/20230312150200.jpg"
},
{
"stcd": "716111301",
"tm": "2023-03-12T07:16:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716111302/20230312151600.jpg"
}
],
"aRz": -4.15
},
{
"stcd": "716112161",
"type": "sk",
"hasRz": true,
"stnm": "白石河水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.929444,
"lttd": 31.267222,
"elev": 0,
"damel": 121.3,
"dsflz": 117.78,
"fsltdz": 117,
"ddz": 107,
"zcxsw": 117,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 112.76,
"w": 2.638,
"a_fsltdz": -4.239999999999995,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716112161",
"tm": "2023-03-12T07:02:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716112161/20230312150200.jpg"
},
{
"stcd": "716112161",
"tm": "2023-03-12T07:07:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716112162/20230312150700.jpg"
}
],
"aRz": -4.24
},
{
"stcd": "716119601",
"type": "sk",
"hasRz": true,
"stnm": "江蔡河水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.963333,
"lttd": 31.492778,
"elev": 0,
"damel": 286,
"dsflz": 284.36,
"fsltdz": 282.5,
"ddz": 275.4,
"zcxsw": 282.5,
"drpTm": "2025-03-12T03:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 276.13,
"w": 0.058,
"a_fsltdz": -6.3700000000000045,
"rzTm": "2025-03-12T03:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716119601",
"tm": "2025-03-12T03:03:37.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2025/0312/716119601/20250312110337.jpg"
},
{
"stcd": "716119601",
"tm": "2025-03-12T03:05:01.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2025/0312/716119602/20250312110501.jpg"
}
],
"aRz": -6.37
},
{
"stcd": "716122051",
"type": "sk",
"hasRz": true,
"stnm": "杨树庵水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.429167,
"lttd": 31.406944,
"elev": 0,
"damel": 141.1,
"dsflz": 139.94,
"fsltdz": 138.8,
"ddz": 132.1,
"zcxsw": 138.8,
"drpTm": "2025-04-11T06:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 136.23,
"w": 0.057,
"a_fsltdz": -2.5700000000000216,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716122051",
"tm": "2023-03-12T07:04:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716122051/20230312150400.jpg"
},
{
"stcd": "716122051",
"tm": "2023-03-12T07:21:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716122052/20230312152100.jpg"
}
],
"aRz": -2.57
},
{
"stcd": "716123001",
"type": "sk",
"hasRz": true,
"stnm": "正冲水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.9175,
"lttd": 31.325556,
"elev": 0,
"damel": 114.75,
"dsflz": 113.39,
"fsltdz": 112.3,
"ddz": 107.9,
"zcxsw": 112.3,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 107.53,
"w": 0,
"a_fsltdz": -4.769999999999996,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716123001",
"tm": "2023-03-12T07:02:15.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716123001/20230312150215.jpg"
},
{
"stcd": "716123001",
"tm": "2023-03-12T07:04:02.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716123002/20230312150402.jpg"
}
],
"aRz": -4.77
},
{
"stcd": "716122901",
"type": "sk",
"hasRz": true,
"stnm": "李家冲水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.905833,
"lttd": 31.339444,
"elev": 0,
"damel": 90.5,
"dsflz": 89.28,
"fsltdz": 88.6,
"ddz": 14.44,
"zcxsw": 88.6,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 87.23,
"w": 0.092,
"a_fsltdz": -1.3699999999999903,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716122901",
"tm": "2023-03-12T07:03:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716122901/20230312150300.jpg"
},
{
"stcd": "716122901",
"tm": "2023-03-12T07:12:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716122902/20230312151200.jpg"
}
],
"aRz": -1.37
},
{
"stcd": "716123901",
"type": "sk",
"hasRz": true,
"stnm": "宗家冲水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.903056,
"lttd": 31.285833,
"elev": 0,
"damel": 14.2,
"dsflz": 13.88,
"fsltdz": 93.3,
"ddz": 9.4,
"zcxsw": 93.3,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 110.13,
"w": 0,
"a_fsltdz": 16.83,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 1,
"rzState": 2,
"pic": [
{
"stcd": "716123901",
"tm": "2023-03-12T08:01:08.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716123901/20230312160108.jpg"
},
{
"stcd": "716123901",
"tm": "2023-03-12T07:03:56.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716123902/20230312150356.jpg"
}
],
"aRz": 16.83
},
{
"stcd": "716115801",
"type": "sk",
"hasRz": true,
"stnm": "张家凹水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.014444,
"lttd": 31.355833,
"elev": 0,
"damel": 134.7,
"dsflz": 133.45,
"fsltdz": 132.6,
"ddz": 124.5,
"zcxsw": 132.6,
"drpTm": "2025-04-11T06:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 128.72,
"w": 0.054,
"a_fsltdz": -3.8799999999999955,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716115801",
"tm": "2023-03-12T07:03:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716115801/20230312150300.jpg"
},
{
"stcd": "716115801",
"tm": "2023-03-12T07:12:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716115802/20230312151200.jpg"
}
],
"aRz": -3.88
},
{
"stcd": "716120401",
"type": "sk",
"hasRz": true,
"stnm": "江园水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.954167,
"lttd": 31.311944,
"elev": 0,
"damel": 100,
"dsflz": 98.46,
"fsltdz": 97.4,
"ddz": 93.2,
"zcxsw": 97.4,
"drpTm": "2024-09-03T02:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 96.71,
"w": 0,
"a_fsltdz": -0.6900000000000119,
"rzTm": "2024-09-03T02:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716120401",
"tm": "2023-03-12T08:01:20.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716120401/20230312160120.jpg"
},
{
"stcd": "716120401",
"tm": "2023-03-12T07:04:03.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716120402/20230312150403.jpg"
}
],
"aRz": -0.69
},
{
"stcd": "716116201",
"type": "sk",
"hasRz": true,
"stnm": "戴家冲水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 115.024444,
"lttd": 31.232222,
"elev": 0,
"damel": 140,
"dsflz": 137.65,
"fsltdz": 136.2,
"ddz": 128,
"zcxsw": 136.2,
"drpTm": "2025-04-11T06:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 131.47,
"w": 0.091,
"a_fsltdz": -4.72999999999999,
"rzTm": "2025-04-11T06:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716116201",
"tm": "2023-03-12T07:03:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716116201/20230312150300.jpg"
},
{
"stcd": "716116201",
"tm": "2023-03-12T07:11:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716116202/20230312151100.jpg"
}
],
"aRz": -4.73
},
{
"stcd": "716122701",
"type": "sk",
"hasRz": true,
"stnm": "石板冲水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.908889,
"lttd": 31.334167,
"elev": 0,
"damel": 114.6,
"dsflz": 112.89,
"fsltdz": 111.6,
"ddz": 101.8,
"zcxsw": 111.6,
"drpTm": "2025-04-11T05:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 103.84,
"w": 0.123,
"a_fsltdz": -7.759999999999991,
"rzTm": "2025-04-11T05:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716122701",
"tm": "2022-02-21T01:05:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2022/0221/716122701/20220221090500.jpg"
},
{
"stcd": "716122701",
"tm": "2022-02-21T01:30:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2022/0221/716122702/20220221093000.jpg"
}
],
"aRz": -7.76
},
{
"stcd": "716122601",
"type": "sk",
"hasRz": true,
"stnm": "山圣庵水库",
"adcd": "421181112000",
"wscd": null,
"importancy": 0,
"lgtd": 114.891667,
"lttd": 31.346944,
"elev": 0,
"damel": 128,
"dsflz": 125.52,
"fsltdz": 124.4,
"ddz": 117.2,
"zcxsw": 124.4,
"drpTm": "2025-04-11T04:00:00.000Z",
"today": 0,
"h1": 0,
"h3": 0,
"h6": 0,
"h12": 0,
"h24": 0,
"h48": 0,
"drpState": 2,
"rz": 121.77,
"w": 0.057,
"a_fsltdz": -2.6300000000000097,
"rzTm": "2025-04-11T04:00:00.000Z",
"rzWarning": 0,
"rzState": 2,
"pic": [
{
"stcd": "716122601",
"tm": "2023-03-12T07:27:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716122601/20230312152700.jpg"
},
{
"stcd": "716122601",
"tm": "2023-03-12T07:39:00.000Z",
"url": "http://223.75.53.106:8891/skjgimages/2023/0312/716122602/20230312153900.jpg"
}
],
"aRz": -2.63
},
]
export default class ShuichangLayer extends BaseLayer {
static LayerName = 'ShuichangLayer';
static SourceName = SourceName;
getStyle() {
const ret = clone(ShapeStyle);
this._setStyleVisibility(ret);
return ret;
}
getName() {
return ShuichangLayer.LayerName;
}
getSubLayers() {
return [ShapeStyle.id];
}
async doRefreshLayer(mapCtrl) {
const ms = mapCtrl.getSource(SourceName);
let data = page1
ms.setData(parseGeoJSON(data));
return true;
}
getFeatureTip(record) {
return '';
}
featureClicked(properties, dispatch) {
// dispatch.runtime.setFeaturePop({
// type: InfoPopNames.PicStPop,
// properties,
// coordinates: [properties.lgtd, properties.lttd],
// offsetPop: true,
// });
}
}