egovamap 0.17.18 → 0.17.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1783,7 +1783,7 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
1783
1783
  callback(data);
1784
1784
  }
1785
1785
  };
1786
- that.callMap('getCenterPoint', polygon, cb);
1786
+ return that.callMap('getCenterPoint', polygon, cb);
1787
1787
  }
1788
1788
 
1789
1789
  /*设置图层显示与隐藏*/
@@ -1824,7 +1824,7 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
1824
1824
  }
1825
1825
 
1826
1826
  that.getMapConfig = function (key, callback) {
1827
- that.callMap('getMapConfig', key, callback);
1827
+ return that.callMap('getMapConfig', key, callback);
1828
1828
  }
1829
1829
 
1830
1830
  that.clearLayerSelectStyle = function (id, options) {