File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ const dpiConfig = {
90
90
* @param {string } [options.proxy] - 代理地址,当域名不一致,请求会加上代理。避免跨域
91
91
* @param {string } [options.tileFormat] - 地图瓦片出图格式,png/webp
92
92
* @param {function } [options.mapSetting.mapClickCallback] - 地图被点击的回调函数
93
- * @param {function } [options.mapSetting.overlays] - 地图的overlayerp
93
+ * @param {function } [options.mapSetting.overlays] - 地图的overlays
94
94
* @param {function } [options.mapSetting.controls] - 地图的控件
95
95
* @param {function } [options.mapSetting.interactions] - 地图控制的参数
96
96
* @extends {ol/Observable }
@@ -2134,7 +2134,7 @@ export class WebMap extends Observable {
2134
2134
if ( ! this . excludePortalProxyUrl && ! CommonUtil . isInTheSameDomain ( requestUrl ) ) {
2135
2135
serviceOptions . proxy = this . getProxy ( ) ;
2136
2136
}
2137
- if ( [ 'EPSG:-1' , 'EPSG:0' , 'EPSG:-1000 '] . includes ( layer . projection ) ) {
2137
+ if ( [ 'EPSG:0 ' ] . includes ( layer . projection ) ) {
2138
2138
// 不支持动态投影restData服务
2139
2139
that . layerAdded ++ ;
2140
2140
that . sendMapToUser ( layerLength ) ;
You can’t perform that action at this time.
0 commit comments