Skip to content

Commit 71273e3

Browse files
committed
【bug】1) webmap,解决通过iportal注册服务的4490地图,打开报错。
(reviewed by chengl)
1 parent 6290442 commit 71273e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export class WebMap extends Observable {
313313
if (handleResult.action === "BrowseMap") {
314314
that.createSpecLayer(mapInfo);
315315
} else if (handleResult.action === "OpenMap") {
316-
that.baseProjection = mapInfo.projection;
316+
that.baseProjection = handleResult.newCrs ||mapInfo.projection;
317317
that.webMapVersion = mapInfo.version;
318318
that.baseLayer = mapInfo.baseLayer;
319319
// that.mapParams = {

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