File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ export class Util {
496
496
} ) ;
497
497
}
498
498
/**
499
- * @function ol.supermap.Util.setMask
499
+ * @function ol.supermap.Util.unsetMask
500
500
* @description 取消图层掩膜。
501
501
* @version 10.1.0
502
502
* @param {ol/layer/Layer|Array.<ol/layer/Layer> } layers 图层
Original file line number Diff line number Diff line change @@ -3457,7 +3457,7 @@ export class WebMap extends Observable {
3457
3457
dataflowService . on ( 'messageSucceeded' , function ( e ) {
3458
3458
let geojson = JSON . parse ( e . value . data ) ;
3459
3459
let feature = transformTools . readFeature ( geojson , {
3460
- dataProjection : "EPSG:4326" , // todo 坐标系
3460
+ dataProjection : layerInfo . projection || "EPSG:4326" ,
3461
3461
featureProjection : that . baseProjection || 'EPSG:4326'
3462
3462
} ) ;
3463
3463
feature . setProperties ( { attributes : geojson . properties } ) ;
You can’t perform that action at this time.
0 commit comments