Skip to content

Commit 1f5bf4d

Browse files
committed
【update】升级fast-xml-parser
1 parent 58e026d commit 1f5bf4d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"@turf/turf": "7.2.0",
150150
"canvg": "^4.0.3",
151151
"echarts": "5.5.0",
152-
"fast-xml-parser": "^4.2.7",
152+
"fast-xml-parser": "^5.3.4",
153153
"fetch-ie8": "1.5.0",
154154
"fetch-jsonp": "1.1.3",
155155
"flatgeobuf": "3.31.1",

src/common/mapping/WebMapV2.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,8 +1030,8 @@ export function createWebMapV2Extending(SuperClass, { MapManager, mapRepo, crsMa
10301030
height: 256
10311031
};
10321032
options.bbox = '{bbox}';
1033-
options.crs = this.baseProjection;
10341033
if (version === '1.3.0' ) {
1034+
options.crs = this.baseProjection;
10351035
if (this.baseProjection === 'EPSG:4326') {
10361036
options.bbox = '{bbox-wms-1.3.0}';
10371037
} else {
@@ -1040,6 +1040,8 @@ export function createWebMapV2Extending(SuperClass, { MapManager, mapRepo, crsMa
10401040
options.bbox = '{bbox-wms-1.3.0}';
10411041
}
10421042
}
1043+
} else {
1044+
options.srs = this.baseProjection;
10431045
}
10441046
return Util.urlAppend(url, this._getParamString(options, url));
10451047
}

src/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@turf/meta": "^7.2.0",
2222
"canvg": "^4.0.3",
2323
"echarts": "5.5.0",
24-
"fast-xml-parser": "^4.2.7",
24+
"fast-xml-parser": "^5.3.4",
2525
"fetch-ie8": "1.5.0",
2626
"fetch-jsonp": "1.1.3",
2727
"flatgeobuf": "3.31.1",

0 commit comments

Comments
 (0)