diff --git a/public/static/libs/mapbox/json/point.json b/public/static/libs/mapbox/json/point.json index 1700e2e..7a67779 100644 --- a/public/static/libs/mapbox/json/point.json +++ b/public/static/libs/mapbox/json/point.json @@ -4,8 +4,8 @@ "features": [ { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 812911.01430410228, "Y": 376178.50496805599, "name": "王家店污水处理厂+临时处理站" }, "geometry": { "type": "Point", "coordinates": [ 114.467832316157072, 30.505674491611853 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 818973.24907382403, "Y": 380748.80822764331, "name": "花湖泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.531068131174436, 30.546819180812797 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 803830.05008614738, "Y": 374971.16065514908, "name": "龙王嘴污水厂" }, "geometry": { "type": "Point", "coordinates": [ 114.373228029876159, 30.49484715511586 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 807667.26742866659, "Y": 369854.22464935761, "name": "汤逊湖污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.413159700440843, 30.448672284518171 ] } }, +{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 803830.05008614738, "Y": 374971.16065514908, "name": "龙王嘴污水厂" }, "geometry": { "type": "Point", "coordinates": [ 114.374846348378583, 30.494629281511514 ] } }, +{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 807667.26742866659, "Y": 369854.22464935761, "name": "汤逊湖污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.413190739074579, 30.448637479014597 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 812863.5687918429, "Y": 374862.78444503527, "name": "二妃山垃圾渗滤液处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.467321791282643, 30.493806823278003 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 811002.10519902967, "Y": 354660.43783392559, "name": "滨湖集镇及蔡王新村分散式" }, "geometry": { "type": "Point", "coordinates": [ 114.44771999548621, 30.311591485867147 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 819051.67489202239, "Y": 372507.39950221719, "name": "豹澥污水处理一厂" }, "geometry": { "type": "Point", "coordinates": [ 114.531734469696303, 30.472478418164542 ] } }, @@ -40,7 +40,6 @@ { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 805051.30727468536, "Y": 374490.41137093375, "name": "民院闸及截污抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.385946592787732, 30.490506130549818 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804845.80525192025, "Y": 373590.18887067732, "name": "茶山刘闸及应急抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.383801941310281, 30.482386675209614 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 805313.62017341889, "Y": 373599.65632957063, "name": "民院污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.388674236400746, 30.482470098268685 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803902.32913631108, "Y": 371865.8929530785, "name": "天际路污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.373969268765933, 30.466836364074751 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804033.22497335798, "Y": 371188.74004439393, "name": "民院闸及截污抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.375329699375825, 30.460727769608312 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804799.33224887459, "Y": 369618.86001237138, "name": "南泥湾污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.383299641868376, 30.446564055034113 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 807620.04879456654, "Y": 372328.85507546179, "name": "关南污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.412686181282012, 30.470994638715847 ] } }, @@ -60,12 +59,10 @@ { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 804394.5203068608, "Y": 374565.1555923784, "name": "洪山高中污水处理站" }, "geometry": { "type": "Point", "coordinates": [ 114.379105967731221, 30.491182928377103 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803775.15454923757, "Y": 374567.31051537488, "name": "楚平路临时污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.372654760322689, 30.491204471569322 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804142.76234785106, "Y": 373520.57159228256, "name": "绣球山泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.376479540216508, 30.481761332183993 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803801.76809062902, "Y": 372673.42879547452, "name": "财大泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.372925048083502, 30.474120942499113 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803854.95666394522, "Y": 369799.07652088167, "name": "保利东路排口抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.373468325329753, 30.448193070984274 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804329.08869806491, "Y": 377685.26052606129, "name": "滨湖污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.378437429073074, 30.519327454021955 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "污水处理厂", "X": null, "Y": null, "name": "花山污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.522886149050933, 30.580582579598033 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "污水处理厂", "X": null, "Y": null, "name": "左岭污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.599273792764052, 30.544943159043193 ] } }, -{ "type": "Feature", "properties": { "UserID": null, "type": "泵站", "X": null, "Y": null, "name": "水蓝郡污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.366859331425545, 30.469529424887995 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "调蓄池", "X": null, "Y": null, "name": "黄龙山调蓄池" }, "geometry": { "type": "Point", "coordinates": [ 114.429873380097817, 30.471965153452189 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "调蓄池", "X": null, "Y": null, "name": "赵家池明渠调蓄池" }, "geometry": { "type": "Point", "coordinates": [ 114.377694974849959, 30.447864012926988 ] } } ] diff --git a/public/static/libs/mapbox/json/point.json b/public/static/libs/mapbox/json/point.json index 1700e2e..7a67779 100644 --- a/public/static/libs/mapbox/json/point.json +++ b/public/static/libs/mapbox/json/point.json @@ -4,8 +4,8 @@ "features": [ { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 812911.01430410228, "Y": 376178.50496805599, "name": "王家店污水处理厂+临时处理站" }, "geometry": { "type": "Point", "coordinates": [ 114.467832316157072, 30.505674491611853 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 818973.24907382403, "Y": 380748.80822764331, "name": "花湖泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.531068131174436, 30.546819180812797 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 803830.05008614738, "Y": 374971.16065514908, "name": "龙王嘴污水厂" }, "geometry": { "type": "Point", "coordinates": [ 114.373228029876159, 30.49484715511586 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 807667.26742866659, "Y": 369854.22464935761, "name": "汤逊湖污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.413159700440843, 30.448672284518171 ] } }, +{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 803830.05008614738, "Y": 374971.16065514908, "name": "龙王嘴污水厂" }, "geometry": { "type": "Point", "coordinates": [ 114.374846348378583, 30.494629281511514 ] } }, +{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 807667.26742866659, "Y": 369854.22464935761, "name": "汤逊湖污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.413190739074579, 30.448637479014597 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 812863.5687918429, "Y": 374862.78444503527, "name": "二妃山垃圾渗滤液处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.467321791282643, 30.493806823278003 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 811002.10519902967, "Y": 354660.43783392559, "name": "滨湖集镇及蔡王新村分散式" }, "geometry": { "type": "Point", "coordinates": [ 114.44771999548621, 30.311591485867147 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 819051.67489202239, "Y": 372507.39950221719, "name": "豹澥污水处理一厂" }, "geometry": { "type": "Point", "coordinates": [ 114.531734469696303, 30.472478418164542 ] } }, @@ -40,7 +40,6 @@ { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 805051.30727468536, "Y": 374490.41137093375, "name": "民院闸及截污抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.385946592787732, 30.490506130549818 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804845.80525192025, "Y": 373590.18887067732, "name": "茶山刘闸及应急抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.383801941310281, 30.482386675209614 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 805313.62017341889, "Y": 373599.65632957063, "name": "民院污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.388674236400746, 30.482470098268685 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803902.32913631108, "Y": 371865.8929530785, "name": "天际路污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.373969268765933, 30.466836364074751 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804033.22497335798, "Y": 371188.74004439393, "name": "民院闸及截污抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.375329699375825, 30.460727769608312 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804799.33224887459, "Y": 369618.86001237138, "name": "南泥湾污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.383299641868376, 30.446564055034113 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 807620.04879456654, "Y": 372328.85507546179, "name": "关南污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.412686181282012, 30.470994638715847 ] } }, @@ -60,12 +59,10 @@ { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 804394.5203068608, "Y": 374565.1555923784, "name": "洪山高中污水处理站" }, "geometry": { "type": "Point", "coordinates": [ 114.379105967731221, 30.491182928377103 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803775.15454923757, "Y": 374567.31051537488, "name": "楚平路临时污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.372654760322689, 30.491204471569322 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804142.76234785106, "Y": 373520.57159228256, "name": "绣球山泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.376479540216508, 30.481761332183993 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803801.76809062902, "Y": 372673.42879547452, "name": "财大泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.372925048083502, 30.474120942499113 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803854.95666394522, "Y": 369799.07652088167, "name": "保利东路排口抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.373468325329753, 30.448193070984274 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804329.08869806491, "Y": 377685.26052606129, "name": "滨湖污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.378437429073074, 30.519327454021955 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "污水处理厂", "X": null, "Y": null, "name": "花山污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.522886149050933, 30.580582579598033 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "污水处理厂", "X": null, "Y": null, "name": "左岭污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.599273792764052, 30.544943159043193 ] } }, -{ "type": "Feature", "properties": { "UserID": null, "type": "泵站", "X": null, "Y": null, "name": "水蓝郡污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.366859331425545, 30.469529424887995 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "调蓄池", "X": null, "Y": null, "name": "黄龙山调蓄池" }, "geometry": { "type": "Point", "coordinates": [ 114.429873380097817, 30.471965153452189 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "调蓄池", "X": null, "Y": null, "name": "赵家池明渠调蓄池" }, "geometry": { "type": "Point", "coordinates": [ 114.377694974849959, 30.447864012926988 ] } } ] diff --git a/public/static/libs/mapbox/style/wh_dhgx.json b/public/static/libs/mapbox/style/wh_dhgx.json index a206f84..8dcba8c 100644 --- a/public/static/libs/mapbox/style/wh_dhgx.json +++ b/public/static/libs/mapbox/style/wh_dhgx.json @@ -343,7 +343,7 @@ "name": "color", "params": [ "area", - "''||function(v){\n let key = [\"雨水\", \"污水\", \"合流\"];\n let colors = ['#061D3D', '#FFFFFF', '#ccff12'];\n return colors[key.indexOf(v)];\n }" + "''||function(v){\n let key = [\"雨水\", \"污水\", \"合流\"];\n let colors = ['#061D3D', '#FFFFFF', '#ccff12'];\n return 'rgba(255,255,255,1)'||colors[key.indexOf(v)];\n }" ] }, { diff --git a/public/static/libs/mapbox/json/point.json b/public/static/libs/mapbox/json/point.json index 1700e2e..7a67779 100644 --- a/public/static/libs/mapbox/json/point.json +++ b/public/static/libs/mapbox/json/point.json @@ -4,8 +4,8 @@ "features": [ { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 812911.01430410228, "Y": 376178.50496805599, "name": "王家店污水处理厂+临时处理站" }, "geometry": { "type": "Point", "coordinates": [ 114.467832316157072, 30.505674491611853 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 818973.24907382403, "Y": 380748.80822764331, "name": "花湖泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.531068131174436, 30.546819180812797 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 803830.05008614738, "Y": 374971.16065514908, "name": "龙王嘴污水厂" }, "geometry": { "type": "Point", "coordinates": [ 114.373228029876159, 30.49484715511586 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 807667.26742866659, "Y": 369854.22464935761, "name": "汤逊湖污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.413159700440843, 30.448672284518171 ] } }, +{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 803830.05008614738, "Y": 374971.16065514908, "name": "龙王嘴污水厂" }, "geometry": { "type": "Point", "coordinates": [ 114.374846348378583, 30.494629281511514 ] } }, +{ "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 807667.26742866659, "Y": 369854.22464935761, "name": "汤逊湖污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.413190739074579, 30.448637479014597 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 812863.5687918429, "Y": 374862.78444503527, "name": "二妃山垃圾渗滤液处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.467321791282643, 30.493806823278003 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 811002.10519902967, "Y": 354660.43783392559, "name": "滨湖集镇及蔡王新村分散式" }, "geometry": { "type": "Point", "coordinates": [ 114.44771999548621, 30.311591485867147 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 819051.67489202239, "Y": 372507.39950221719, "name": "豹澥污水处理一厂" }, "geometry": { "type": "Point", "coordinates": [ 114.531734469696303, 30.472478418164542 ] } }, @@ -40,7 +40,6 @@ { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 805051.30727468536, "Y": 374490.41137093375, "name": "民院闸及截污抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.385946592787732, 30.490506130549818 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804845.80525192025, "Y": 373590.18887067732, "name": "茶山刘闸及应急抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.383801941310281, 30.482386675209614 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 805313.62017341889, "Y": 373599.65632957063, "name": "民院污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.388674236400746, 30.482470098268685 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803902.32913631108, "Y": 371865.8929530785, "name": "天际路污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.373969268765933, 30.466836364074751 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804033.22497335798, "Y": 371188.74004439393, "name": "民院闸及截污抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.375329699375825, 30.460727769608312 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804799.33224887459, "Y": 369618.86001237138, "name": "南泥湾污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.383299641868376, 30.446564055034113 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 807620.04879456654, "Y": 372328.85507546179, "name": "关南污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.412686181282012, 30.470994638715847 ] } }, @@ -60,12 +59,10 @@ { "type": "Feature", "properties": { "UserID": 0, "type": "污水处理厂", "X": 804394.5203068608, "Y": 374565.1555923784, "name": "洪山高中污水处理站" }, "geometry": { "type": "Point", "coordinates": [ 114.379105967731221, 30.491182928377103 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803775.15454923757, "Y": 374567.31051537488, "name": "楚平路临时污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.372654760322689, 30.491204471569322 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804142.76234785106, "Y": 373520.57159228256, "name": "绣球山泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.376479540216508, 30.481761332183993 ] } }, -{ "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803801.76809062902, "Y": 372673.42879547452, "name": "财大泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.372925048083502, 30.474120942499113 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 803854.95666394522, "Y": 369799.07652088167, "name": "保利东路排口抽排泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.373468325329753, 30.448193070984274 ] } }, { "type": "Feature", "properties": { "UserID": 0, "type": "泵站", "X": 804329.08869806491, "Y": 377685.26052606129, "name": "滨湖污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.378437429073074, 30.519327454021955 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "污水处理厂", "X": null, "Y": null, "name": "花山污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.522886149050933, 30.580582579598033 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "污水处理厂", "X": null, "Y": null, "name": "左岭污水处理厂" }, "geometry": { "type": "Point", "coordinates": [ 114.599273792764052, 30.544943159043193 ] } }, -{ "type": "Feature", "properties": { "UserID": null, "type": "泵站", "X": null, "Y": null, "name": "水蓝郡污水泵站" }, "geometry": { "type": "Point", "coordinates": [ 114.366859331425545, 30.469529424887995 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "调蓄池", "X": null, "Y": null, "name": "黄龙山调蓄池" }, "geometry": { "type": "Point", "coordinates": [ 114.429873380097817, 30.471965153452189 ] } }, { "type": "Feature", "properties": { "UserID": null, "type": "调蓄池", "X": null, "Y": null, "name": "赵家池明渠调蓄池" }, "geometry": { "type": "Point", "coordinates": [ 114.377694974849959, 30.447864012926988 ] } } ] diff --git a/public/static/libs/mapbox/style/wh_dhgx.json b/public/static/libs/mapbox/style/wh_dhgx.json index a206f84..8dcba8c 100644 --- a/public/static/libs/mapbox/style/wh_dhgx.json +++ b/public/static/libs/mapbox/style/wh_dhgx.json @@ -343,7 +343,7 @@ "name": "color", "params": [ "area", - "''||function(v){\n let key = [\"雨水\", \"污水\", \"合流\"];\n let colors = ['#061D3D', '#FFFFFF', '#ccff12'];\n return colors[key.indexOf(v)];\n }" + "''||function(v){\n let key = [\"雨水\", \"污水\", \"合流\"];\n let colors = ['#061D3D', '#FFFFFF', '#ccff12'];\n return 'rgba(255,255,255,1)'||colors[key.indexOf(v)];\n }" ] }, { diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue index c5bb777..599f2f3 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue @@ -412,6 +412,12 @@ console.log("type123", type); let results = {}; bus.emit("removeMapDatas", [key]); + + if(properties['管段编码']){ + const startEnds = _.chunk(properties['管段编码'],properties['管段编码'].length/2).map(o => o.join('')); + properties["起始外业点号"] = startEnds[0]; + properties["终止外业点号"] = startEnds[1]; + } const methods = { up: upStreamAnalyse, down: downStreamAnalyse,