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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy