Skip to content

Commit 1b2f9d8

Browse files
committed
【fix】webmap支持epsg:-1000,同步代码
1 parent 13845d8 commit 1b2f9d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const dpiConfig = {
9090
* @param {string} [options.proxy] - 代理地址,当域名不一致,请求会加上代理。避免跨域
9191
* @param {string} [options.tileFormat] - 地图瓦片出图格式,png/webp
9292
* @param {function} [options.mapSetting.mapClickCallback] - 地图被点击的回调函数
93-
* @param {function} [options.mapSetting.overlays] - 地图的overlayerp
93+
* @param {function} [options.mapSetting.overlays] - 地图的overlays
9494
* @param {function} [options.mapSetting.controls] - 地图的控件
9595
* @param {function} [options.mapSetting.interactions] - 地图控制的参数
9696
* @extends {ol/Observable}
@@ -2134,7 +2134,7 @@ export class WebMap extends Observable {
21342134
if (!this.excludePortalProxyUrl && !CommonUtil.isInTheSameDomain(requestUrl)) {
21352135
serviceOptions.proxy = this.getProxy();
21362136
}
2137-
if(['EPSG:-1', 'EPSG:0', 'EPSG:-1000'].includes(layer.projection)) {
2137+
if(['EPSG:0'].includes(layer.projection)) {
21382138
// 不支持动态投影restData服务
21392139
that.layerAdded++;
21402140
that.sendMapToUser(layerLength);

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