egovamap 0.17.7 → 0.17.8

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.
@@ -57,7 +57,7 @@ var egovaBI = function(globeMap, gisMap, mapType){
57
57
  }
58
58
 
59
59
  function rgbToRgbArray(color) {
60
- if (!color || (typeof color == 'string'&&color.indexOf('rgb') == -1)) return color;
60
+ if (!color || (typeof color == 'string'&&color.indexOf('rgb') == -1) || Object.prototype.toString.call(color) === '[object Array]') return color;
61
61
 
62
62
  var r, g, b, a;
63
63
  var rgbaAttr = color.match(/[\d.]+/g);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.17.7",
3
+ "version": "0.17.8",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {