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 = {
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 ) ;
You can’t perform that action at this time.
0 commit comments