diff --git a/package.json b/package.json index 830e974b..3a30bd2b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vts-browser-js", - "version": "2.16.8", + "version": "2.16.10", "description": "JavaScript WebGL 3D maps rendering engine", "main": "src/browser/index.js", "scripts": { diff --git a/src/core/core.js b/src/core/core.js index 3b284bf2..86b06fa7 100755 --- a/src/core/core.js +++ b/src/core/core.js @@ -532,7 +532,7 @@ string getCoreVersion() */ function getCoreVersion(full) { - return (full ? 'Core: ' : '') + '2.16.8'; + return (full ? 'Core: ' : '') + '2.16.10'; } diff --git a/src/core/map/geodata-processor/worker-style.js b/src/core/map/geodata-processor/worker-style.js index 2f1a132d..e4a6693d 100755 --- a/src/core/map/geodata-processor/worker-style.js +++ b/src/core/map/geodata-processor/worker-style.js @@ -747,7 +747,7 @@ var validateValue = function(layerId, key, value, type, arrayLength, min, max) { //check array if (arrayLength != null) { - if (Array.isArray(value) && value.length == arrayLength) { + if (Array.isArray(value) && (value.length == arrayLength || ((key == 'icon-stick' || 'label-stick') && value.length == 7) )) { //validate array values i = 0;