Skip to content

Commit e58ac47

Browse files
author
chenguanglin
committed
【update】1、流数据图层对接墨卡托数据
2、更改unSetmask注释 review by zhaoq
1 parent 5a55645 commit e58ac47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/openlayers/core/Util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export class Util {
496496
});
497497
}
498498
/**
499-
* @function ol.supermap.Util.setMask
499+
* @function ol.supermap.Util.unsetMask
500500
* @description 取消图层掩膜。
501501
* @version 10.1.0
502502
* @param {ol/layer/Layer|Array.<ol/layer/Layer>} layers 图层

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,7 +3457,7 @@ export class WebMap extends Observable {
34573457
dataflowService.on('messageSucceeded', function (e) {
34583458
let geojson = JSON.parse(e.value.data);
34593459
let feature = transformTools.readFeature(geojson, {
3460-
dataProjection: "EPSG:4326", // todo 坐标系
3460+
dataProjection: layerInfo.projection || "EPSG:4326",
34613461
featureProjection: that.baseProjection || 'EPSG:4326'
34623462
});
34633463
feature.setProperties({attributes: geojson.properties});

0 commit comments

Comments
 (0)