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 {
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 图层
Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments