8000 【fix】当projection是epsg时 · SuperMap/iClient-JavaScript@5e4424d · GitHub
[go: up one dir, main page]

Skip to content

Commit 5e4424d

Browse files
committed
【fix】当projection是epsg时
1 parent 185bb22 commit 5e4424d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/mapping/WebMapV2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export function createWebMapV2Extending(SuperClass, { MapManager, mapRepo }) {
191191
}
192192
} else {
193193
wkt = mapRepo.CRS.get(this.baseProjection).WKT
194-
this._defineProj4(wkt);
194+
this._defineProj4(wkt || projection);
195195
bounds = [
196196
mapInfo.extent.leftBottom.x,
197197
mapInfo.extent.leftBottom.y,

0 commit comments

Comments
 (0)
0