diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json new file mode 100644 index 0000000..9c29117 --- /dev/null +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -0,0 +1,190 @@ +{ + "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.342, + 34.802 + ], + "zoom": 11.5, + "pitch": 0, + "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" + }, + { + "name": "map_selected", + "url": "/static/libs/mapbox/style/sprite/map_selected.png" + } + ] + } + }, + "ogc": [ + { + "id": "newfiber-XYZLayer", + "type": "XYZLayer", + "params": { + "id": "newfiber-XYZLayer", + "url": "https://t{s}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=a603e07a17766447f9e74f14c5454efa", + "subdomains": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "minZoom": 1, + "maxZoom": 19, + "tileType": "" + }, + "methods": [ + { + "name": "addTo", + "params": [ + "''||map" + ] + }, + { + "name": "hide", + "params": [] + } + ] + } + ], + "l7": [ + { + "id": "", + "key": "highlight_point", + "type": "PointLayer", + "show": true, + "params": { + "zIndex": 0, + "blend": "additive" + }, + "methods": [ + { + "name": "shape", + "params": [ + "map_selected" + ] + }, + { + "name": "size", + "params": [ + 15 + ] + }, + { + "name": "style", + "params": [ + { + "offsets": [ + 0, + 0 + ] + } + ] + } + ] + } + ], + "mapbox": [ + { + "id": "point", + "key": "point", + "type": "symbol", + "minzoom": 0, + "maxzoom": 24, + "filter": [ + "in", + "type", + "", + "online", + "error", + "offline", + "lowVoltage", + "to_punch", + "punched" + ], + "paint": { + "text-color": "#ffffff", + "text-halo-color": "rgba(255,0,0,1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "layout": { + "icon-image": [ + "match", + [ + "get", + "type" + ], + "GIS", + "GIS", + "GWJBZ", + "GWJBZ", + "GWPCYXF", + "GWPCYXF", + "HMJZYSQ", + "HMJZYSQ", + "HMXDLGC", + "HMXDLGC", + "HMXGYLD", + "HMXGYLD", + "HMXSX", + "HMXSX", + "huang" + ], + "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, + 3 + ] + }, + "mType": "geojson" + } + ], + "orders": [ + [ + "newfiber-XYZLayer" + ], + [ + "poi_label" + ], + [ + "place_label_city" + ], + [ + "road_major_label" + ], + [ + "place_label_other" + ], + [ + "point" + ] + ], + "filter": {} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json new file mode 100644 index 0000000..9c29117 --- /dev/null +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -0,0 +1,190 @@ +{ + "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.342, + 34.802 + ], + "zoom": 11.5, + "pitch": 0, + "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" + }, + { + "name": "map_selected", + "url": "/static/libs/mapbox/style/sprite/map_selected.png" + } + ] + } + }, + "ogc": [ + { + "id": "newfiber-XYZLayer", + "type": "XYZLayer", + "params": { + "id": "newfiber-XYZLayer", + "url": "https://t{s}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=a603e07a17766447f9e74f14c5454efa", + "subdomains": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "minZoom": 1, + "maxZoom": 19, + "tileType": "" + }, + "methods": [ + { + "name": "addTo", + "params": [ + "''||map" + ] + }, + { + "name": "hide", + "params": [] + } + ] + } + ], + "l7": [ + { + "id": "", + "key": "highlight_point", + "type": "PointLayer", + "show": true, + "params": { + "zIndex": 0, + "blend": "additive" + }, + "methods": [ + { + "name": "shape", + "params": [ + "map_selected" + ] + }, + { + "name": "size", + "params": [ + 15 + ] + }, + { + "name": "style", + "params": [ + { + "offsets": [ + 0, + 0 + ] + } + ] + } + ] + } + ], + "mapbox": [ + { + "id": "point", + "key": "point", + "type": "symbol", + "minzoom": 0, + "maxzoom": 24, + "filter": [ + "in", + "type", + "", + "online", + "error", + "offline", + "lowVoltage", + "to_punch", + "punched" + ], + "paint": { + "text-color": "#ffffff", + "text-halo-color": "rgba(255,0,0,1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "layout": { + "icon-image": [ + "match", + [ + "get", + "type" + ], + "GIS", + "GIS", + "GWJBZ", + "GWJBZ", + "GWPCYXF", + "GWPCYXF", + "HMJZYSQ", + "HMJZYSQ", + "HMXDLGC", + "HMXDLGC", + "HMXGYLD", + "HMXGYLD", + "HMXSX", + "HMXSX", + "huang" + ], + "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, + 3 + ] + }, + "mType": "geojson" + } + ], + "orders": [ + [ + "newfiber-XYZLayer" + ], + [ + "poi_label" + ], + [ + "place_label_city" + ], + [ + "road_major_label" + ], + [ + "place_label_other" + ], + [ + "point" + ] + ], + "filter": {} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.json b/public/static/libs/mapbox/style/sprite/sprite5.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json new file mode 100644 index 0000000..9c29117 --- /dev/null +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -0,0 +1,190 @@ +{ + "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.342, + 34.802 + ], + "zoom": 11.5, + "pitch": 0, + "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" + }, + { + "name": "map_selected", + "url": "/static/libs/mapbox/style/sprite/map_selected.png" + } + ] + } + }, + "ogc": [ + { + "id": "newfiber-XYZLayer", + "type": "XYZLayer", + "params": { + "id": "newfiber-XYZLayer", + "url": "https://t{s}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=a603e07a17766447f9e74f14c5454efa", + "subdomains": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "minZoom": 1, + "maxZoom": 19, + "tileType": "" + }, + "methods": [ + { + "name": "addTo", + "params": [ + "''||map" + ] + }, + { + "name": "hide", + "params": [] + } + ] + } + ], + "l7": [ + { + "id": "", + "key": "highlight_point", + "type": "PointLayer", + "show": true, + "params": { + "zIndex": 0, + "blend": "additive" + }, + "methods": [ + { + "name": "shape", + "params": [ + "map_selected" + ] + }, + { + "name": "size", + "params": [ + 15 + ] + }, + { + "name": "style", + "params": [ + { + "offsets": [ + 0, + 0 + ] + } + ] + } + ] + } + ], + "mapbox": [ + { + "id": "point", + "key": "point", + "type": "symbol", + "minzoom": 0, + "maxzoom": 24, + "filter": [ + "in", + "type", + "", + "online", + "error", + "offline", + "lowVoltage", + "to_punch", + "punched" + ], + "paint": { + "text-color": "#ffffff", + "text-halo-color": "rgba(255,0,0,1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "layout": { + "icon-image": [ + "match", + [ + "get", + "type" + ], + "GIS", + "GIS", + "GWJBZ", + "GWJBZ", + "GWPCYXF", + "GWPCYXF", + "HMJZYSQ", + "HMJZYSQ", + "HMXDLGC", + "HMXDLGC", + "HMXGYLD", + "HMXGYLD", + "HMXSX", + "HMXSX", + "huang" + ], + "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, + 3 + ] + }, + "mType": "geojson" + } + ], + "orders": [ + [ + "newfiber-XYZLayer" + ], + [ + "poi_label" + ], + [ + "place_label_city" + ], + [ + "road_major_label" + ], + [ + "place_label_other" + ], + [ + "point" + ] + ], + "filter": {} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.json b/public/static/libs/mapbox/style/sprite/sprite5.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.png b/public/static/libs/mapbox/style/sprite/sprite5.png new file mode 100644 index 0000000..dac9a49 --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.png Binary files differ diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json new file mode 100644 index 0000000..9c29117 --- /dev/null +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -0,0 +1,190 @@ +{ + "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.342, + 34.802 + ], + "zoom": 11.5, + "pitch": 0, + "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" + }, + { + "name": "map_selected", + "url": "/static/libs/mapbox/style/sprite/map_selected.png" + } + ] + } + }, + "ogc": [ + { + "id": "newfiber-XYZLayer", + "type": "XYZLayer", + "params": { + "id": "newfiber-XYZLayer", + "url": "https://t{s}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=a603e07a17766447f9e74f14c5454efa", + "subdomains": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "minZoom": 1, + "maxZoom": 19, + "tileType": "" + }, + "methods": [ + { + "name": "addTo", + "params": [ + "''||map" + ] + }, + { + "name": "hide", + "params": [] + } + ] + } + ], + "l7": [ + { + "id": "", + "key": "highlight_point", + "type": "PointLayer", + "show": true, + "params": { + "zIndex": 0, + "blend": "additive" + }, + "methods": [ + { + "name": "shape", + "params": [ + "map_selected" + ] + }, + { + "name": "size", + "params": [ + 15 + ] + }, + { + "name": "style", + "params": [ + { + "offsets": [ + 0, + 0 + ] + } + ] + } + ] + } + ], + "mapbox": [ + { + "id": "point", + "key": "point", + "type": "symbol", + "minzoom": 0, + "maxzoom": 24, + "filter": [ + "in", + "type", + "", + "online", + "error", + "offline", + "lowVoltage", + "to_punch", + "punched" + ], + "paint": { + "text-color": "#ffffff", + "text-halo-color": "rgba(255,0,0,1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "layout": { + "icon-image": [ + "match", + [ + "get", + "type" + ], + "GIS", + "GIS", + "GWJBZ", + "GWJBZ", + "GWPCYXF", + "GWPCYXF", + "HMJZYSQ", + "HMJZYSQ", + "HMXDLGC", + "HMXDLGC", + "HMXGYLD", + "HMXGYLD", + "HMXSX", + "HMXSX", + "huang" + ], + "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, + 3 + ] + }, + "mType": "geojson" + } + ], + "orders": [ + [ + "newfiber-XYZLayer" + ], + [ + "poi_label" + ], + [ + "place_label_city" + ], + [ + "road_major_label" + ], + [ + "place_label_other" + ], + [ + "point" + ] + ], + "filter": {} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.json b/public/static/libs/mapbox/style/sprite/sprite5.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.png b/public/static/libs/mapbox/style/sprite/sprite5.png new file mode 100644 index 0000000..dac9a49 --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.png Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite5@2x.json b/public/static/libs/mapbox/style/sprite/sprite5@2x.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5@2x.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json new file mode 100644 index 0000000..9c29117 --- /dev/null +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -0,0 +1,190 @@ +{ + "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.342, + 34.802 + ], + "zoom": 11.5, + "pitch": 0, + "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" + }, + { + "name": "map_selected", + "url": "/static/libs/mapbox/style/sprite/map_selected.png" + } + ] + } + }, + "ogc": [ + { + "id": "newfiber-XYZLayer", + "type": "XYZLayer", + "params": { + "id": "newfiber-XYZLayer", + "url": "https://t{s}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=a603e07a17766447f9e74f14c5454efa", + "subdomains": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "minZoom": 1, + "maxZoom": 19, + "tileType": "" + }, + "methods": [ + { + "name": "addTo", + "params": [ + "''||map" + ] + }, + { + "name": "hide", + "params": [] + } + ] + } + ], + "l7": [ + { + "id": "", + "key": "highlight_point", + "type": "PointLayer", + "show": true, + "params": { + "zIndex": 0, + "blend": "additive" + }, + "methods": [ + { + "name": "shape", + "params": [ + "map_selected" + ] + }, + { + "name": "size", + "params": [ + 15 + ] + }, + { + "name": "style", + "params": [ + { + "offsets": [ + 0, + 0 + ] + } + ] + } + ] + } + ], + "mapbox": [ + { + "id": "point", + "key": "point", + "type": "symbol", + "minzoom": 0, + "maxzoom": 24, + "filter": [ + "in", + "type", + "", + "online", + "error", + "offline", + "lowVoltage", + "to_punch", + "punched" + ], + "paint": { + "text-color": "#ffffff", + "text-halo-color": "rgba(255,0,0,1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "layout": { + "icon-image": [ + "match", + [ + "get", + "type" + ], + "GIS", + "GIS", + "GWJBZ", + "GWJBZ", + "GWPCYXF", + "GWPCYXF", + "HMJZYSQ", + "HMJZYSQ", + "HMXDLGC", + "HMXDLGC", + "HMXGYLD", + "HMXGYLD", + "HMXSX", + "HMXSX", + "huang" + ], + "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, + 3 + ] + }, + "mType": "geojson" + } + ], + "orders": [ + [ + "newfiber-XYZLayer" + ], + [ + "poi_label" + ], + [ + "place_label_city" + ], + [ + "road_major_label" + ], + [ + "place_label_other" + ], + [ + "point" + ] + ], + "filter": {} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.json b/public/static/libs/mapbox/style/sprite/sprite5.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.png b/public/static/libs/mapbox/style/sprite/sprite5.png new file mode 100644 index 0000000..dac9a49 --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.png Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite5@2x.json b/public/static/libs/mapbox/style/sprite/sprite5@2x.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5@2x.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5@2x.png b/public/static/libs/mapbox/style/sprite/sprite5@2x.png new file mode 100644 index 0000000..dac9a49 --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5@2x.png Binary files differ diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json new file mode 100644 index 0000000..9c29117 --- /dev/null +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -0,0 +1,190 @@ +{ + "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.342, + 34.802 + ], + "zoom": 11.5, + "pitch": 0, + "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" + }, + { + "name": "map_selected", + "url": "/static/libs/mapbox/style/sprite/map_selected.png" + } + ] + } + }, + "ogc": [ + { + "id": "newfiber-XYZLayer", + "type": "XYZLayer", + "params": { + "id": "newfiber-XYZLayer", + "url": "https://t{s}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=a603e07a17766447f9e74f14c5454efa", + "subdomains": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "minZoom": 1, + "maxZoom": 19, + "tileType": "" + }, + "methods": [ + { + "name": "addTo", + "params": [ + "''||map" + ] + }, + { + "name": "hide", + "params": [] + } + ] + } + ], + "l7": [ + { + "id": "", + "key": "highlight_point", + "type": "PointLayer", + "show": true, + "params": { + "zIndex": 0, + "blend": "additive" + }, + "methods": [ + { + "name": "shape", + "params": [ + "map_selected" + ] + }, + { + "name": "size", + "params": [ + 15 + ] + }, + { + "name": "style", + "params": [ + { + "offsets": [ + 0, + 0 + ] + } + ] + } + ] + } + ], + "mapbox": [ + { + "id": "point", + "key": "point", + "type": "symbol", + "minzoom": 0, + "maxzoom": 24, + "filter": [ + "in", + "type", + "", + "online", + "error", + "offline", + "lowVoltage", + "to_punch", + "punched" + ], + "paint": { + "text-color": "#ffffff", + "text-halo-color": "rgba(255,0,0,1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "layout": { + "icon-image": [ + "match", + [ + "get", + "type" + ], + "GIS", + "GIS", + "GWJBZ", + "GWJBZ", + "GWPCYXF", + "GWPCYXF", + "HMJZYSQ", + "HMJZYSQ", + "HMXDLGC", + "HMXDLGC", + "HMXGYLD", + "HMXGYLD", + "HMXSX", + "HMXSX", + "huang" + ], + "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, + 3 + ] + }, + "mType": "geojson" + } + ], + "orders": [ + [ + "newfiber-XYZLayer" + ], + [ + "poi_label" + ], + [ + "place_label_city" + ], + [ + "road_major_label" + ], + [ + "place_label_other" + ], + [ + "point" + ] + ], + "filter": {} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.json b/public/static/libs/mapbox/style/sprite/sprite5.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5.png b/public/static/libs/mapbox/style/sprite/sprite5.png new file mode 100644 index 0000000..dac9a49 --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5.png Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite5@2x.json b/public/static/libs/mapbox/style/sprite/sprite5@2x.json new file mode 100644 index 0000000..5a841ab --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5@2x.json @@ -0,0 +1,9 @@ +{ + "GIS":{"x":0,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWJBZ":{"x":48,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "GWPCYXF":{"x":96,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMJZYSQ":{"x":144,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXDLGC":{"x":192,"y":0,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXGYLD":{"x":0,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false}, + "HMXSX":{"x":48,"y":65,"width":48,"height":65,"pixelRatio":1,"sdf":false} +} \ No newline at end of file diff --git a/public/static/libs/mapbox/style/sprite/sprite5@2x.png b/public/static/libs/mapbox/style/sprite/sprite5@2x.png new file mode 100644 index 0000000..dac9a49 --- /dev/null +++ b/public/static/libs/mapbox/style/sprite/sprite5@2x.png Binary files differ diff --git a/src/views/lsxmsb/TemporaryProject.vue b/src/views/lsxmsb/TemporaryProject.vue index 24a5fc5..912964d 100644 --- a/src/views/lsxmsb/TemporaryProject.vue +++ b/src/views/lsxmsb/TemporaryProject.vue @@ -1,14 +1,93 @@