diff --git a/public/static/libs/mapbox/style/HaiMianScreen.json b/public/static/libs/mapbox/style/HaiMianScreen.json index dc40c11..48a8b20 100644 --- a/public/static/libs/mapbox/style/HaiMianScreen.json +++ b/public/static/libs/mapbox/style/HaiMianScreen.json @@ -110,50 +110,6 @@ ], "l7": [ { - "id": "hubei_xiaogan_roads", - "key": "hubei_xiaogan_roads", - "type": "LineLayer", - "show": false, - "params": { - "autoFit": false, - "zIndex": 10 - }, - "methods": [ - { - "name": "shape", - "params": [ - "line" - ] - }, - { - "name": "color", - "params": [ - "fclass", - "''||function(v){\n let key = [\"trunk\", \"footway\", \"secondary\", \"trunk_link\", \"tertiary\", \"secondary_link\", \"tertiary_link\", \"living_street\", \"pedestrian\", \"primary\", \"residential\", \"track\", \"primary_link\", \"motorway_link\", \"motorway\", \"service\", \"unclassified\", \"path\"];\n let colors = ['#F9D371', '#3DB2FF', '#6E85B2', '#F47340', '#F6A9A9', '#EF2F88', '#5F7A61', '#1ee3cf', '#C2F784', '#FFF89A', 'rgba(22, 119, 255, .5)', '#93FFD8', '#BAFFB4', '#D3DEDC', '#AEFEFF', '#9B0000', '#F5F5F5', '#08ffc8', '#FFE3E3'];\n return colors[key.indexOf(v)];\n }" - ] - }, - { - "name": "style", - "params": [ - { - "watercolor": "#6D99A8" - } - ] - }, - { - "name": "animate", - "params": [ - { - "interval": 1, - "duration": 1, - "trailLength": 2 - } - ] - } - ], - "columns": "fclass" - }, - { "id": "hn_kf_hm_haimianwaterflow", "key": "金明广场(西南角)改造提升地表径流", "type": "LineLayer", @@ -513,20 +469,6 @@ ], "mapbox": [ { - "id": "all_boundary", - "key": "all_boundary", - "source-layer": "all_boundary", - "type": "line", - "paint": { - "line-color": "rgba(255,18,60,1)", - "line-width": 1 - }, - "layout": {}, - "minzoom": 0, - "maxzoom": 24, - "mType": "mvt" - }, - { "id": "pipeline_info", "key": "hn_kf_hm_pipeline", "source-layer": "hn_kf_hm_pipeline", @@ -751,51 +693,6 @@ "columns": "dlmc,st_asText(geometrys) as geometry" }, { - "id": "city_boundary", - "key": "hubei_xiaogan_hm_city_boundary", - "source-layer": "hubei_xiaogan_hm_city_boundary", - "type": "fill", - "filter": [ - "in", - "name", - "" - ], - "paint": { - "fill-color": [ - "get", - "fill_color" - ] - }, - "layout": {}, - "minzoom": 10, - "maxzoom": 24, - "mType": "mvt", - "columns": "name,fill_color" - }, - { - "id": "hubei_xiaogan_hm_psfq", - "key": "hubei_xiaogan_hm_psfq", - "source-layer": "hubei_xiaogan_hm_psfq", - "type": "fill", - "filter": [ - "in", - "type", - "" - ], - "paint": { - "fill-color": [ - "get", - "fill_color" - ], - "fill-opacity": 0.4 - }, - "layout": {}, - "minzoom": 12, - "maxzoom": 24, - "mType": "mvt", - "columns": "type,fill_color,st_asText(geometrys) as geometry" - }, - { "id": "pipeline_point", "key": "hn_kf_hm_pipeline_point", "source-layer": "hn_kf_hm_pipeline_point", @@ -913,15 +810,6 @@ "newfiber-XYZLayer" ], [ - "hubei_xiaogan_hm_psfq" - ], - [ - "city_boundary" - ], - [ - "all_boundary" - ], - [ "pipeline_info" ], [ @@ -1020,100 +908,6 @@ "ys" ] ] - }, - "YSFQ": { - "layerName": [ - "hubei_xiaogan_hm_psfq" - ], - "filter": [ - [ - "YS" - ] - ] - }, - "WSFQ": { - "layerName": [ - "hubei_xiaogan_hm_psfq" - ], - "filter": [ - [ - "WS" - ] - ] - }, - "oldCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "老城区" - ] - ], - "easeTo": { - "center": [ - 113.933, - 30.926 - ], - "zoom": 13.6, - "pitch": 55 - } - }, - "southCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "南城新区" - ] - ], - "easeTo": { - "center": [ - 113.933, - 30.886 - ], - "zoom": 13.6, - "pitch": 55 - } - }, - "newCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区" - ] - ], - "easeTo": { - "center": [ - 113.983, - 30.896 - ], - "zoom": 13.6, - "pitch": 55 - } - }, - "allCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区", - "南城新区", - "老城区" - ] - ], - "easeTo": { - "center": [ - 113.953, - 30.906 - ], - "zoom": 13.6, - "pitch": 55 - } } } } \ No newline at end of file