egovamap 0.17.19 → 0.17.22

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.
@@ -45,12 +45,12 @@ var egovaBI = function(globeMap, gisMap, mapType){
45
45
  var _count = count - 1;
46
46
  for (var i = 1; i < _count; i++) {
47
47
  var interval = step * i;
48
- colors.push('rgba(' +
49
- Math.round(start0 + interval * r) + ',' +
50
- Math.round(start1 + interval * g) + ',' +
51
- Math.round(start2 + interval * b) + ',' +
52
- (start3 + interval * opacity) +
53
- ')');
48
+ colors.push([
49
+ Math.round(start0 + interval * r),
50
+ Math.round(start1 + interval * g),
51
+ Math.round(start2 + interval * b),
52
+ (start3 + interval * opacity)
53
+ ])
54
54
  }
55
55
  colors.push(endColor);
56
56
  return colors;
@@ -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) {
@@ -1839,7 +1839,7 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
1839
1839
  if (scene == null)
1840
1840
  return;
1841
1841
  if (gisMap != null)
1842
- gismap.getMultiPointBuffer(this, arguments);
1842
+ gisMap.getMultiPointBuffer(this, arguments);
1843
1843
  }
1844
1844
  that.setGraphicStyle = function(id, tag, style){
1845
1845
  if (scene == null){
@@ -3800,7 +3800,7 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
3800
3800
  return globeMap.getMapConfig(key, callback)
3801
3801
  }
3802
3802
  if (gisMap != null) {
3803
- gisMap.getMapConfig.apply(this, arguments);
3803
+ return gisMap.getMapConfig.apply(this, arguments);
3804
3804
  }
3805
3805
  }
3806
3806
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.17.19",
3
+ "version": "0.17.22",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {