{ "params": { "basemap": "https://supermap2.wh-nf.cn:8090/bm", "mvt": "https://supermap0.wh-nf.cn:8090/vt", "sprites": ["/static/libs/mapbox/style/sprite/sprite5"], "init": { "center": [114.312, 34.802], "zoom": 11, "style": "/static/libs/mapbox/style/customs/night-style.json" }, "l7": { "images": [ { "name": "02", "url": "https://gw.alipayobjects.com/zos/bmw-prod/ce83fc30-701f-415b-9750-4b146f4b3dd6.svg" } ] } }, "l7": [ { "id": "", "key": "highlight_point", "type": "PointLayer", "show": true, "params": { "zIndex": 0, "blend": "additive" }, "methods": [ { "name": "shape", "params": ["circle"] }, { "name": "color", "params": ["rgba(255,0,0,1.0)"] }, { "name": "size", "params": [10] }, { "name": "animate", "params": [true] }, { "name": "style", "params": [ { "unit": "meter" } ] } ] } ], "mapbox": [ { "id": "point", "key": "point", "type": "symbol", "minzoom": 0, "maxzoom": 24, "filter": ["in", "type", ""], "paint": { "text-color": "rgba(255, 255, 255, 1)", "text-halo-color": "rgba(14, 139, 90, 1)", "text-halo-width": 2 }, "layout": { "icon-image": [ "match", ["get", "type"], "YSBZ", "rainBengZhan_icon", "WSBZ", "sewageBenZhan_icon", "combineBengZhan", "combineBengZhan_icon", "sewageFactory", "sewageFactory_icon", "waterLoging", "waterLoging_icon", "waterCourse", "waterCourse_icon", "rainStation", "rainStation_icon", "origine", "origine_icon", "spongeFacility", "spongeFacility_icon", "waterFactory", "waterFactory_icon", "ysbz" ], "text-allow-overlap": true, "icon-allow-overlap": true, "icon-anchor": "center", "icon-size": 0.8, "text-field": "{name}", "text-font": ["KlokanTech Noto Sans Regular"], "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", "text-max-width": 50, "text-offset": [0, -0.8] }, "mType": "geojson" } ], "orders": [["poi_label"], ["place_label_city"], ["road_major_label"], ["place_label_other"], ["point"]], "filter": { "wsLine1": { "layerName": ["pipeline_info", "pipeline_point"], "filter": [ ["WS", "HS"], ["污水点", "合流点"] ] }, "ysLine1": { "layerName": ["pipeline_info", "pipeline_point"], "filter": [["YS"], ["雨水点"]] }, "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 } } } }