Skip to content

Commit

Permalink
Merge pull request #126 from DavidLevinsky/master
Browse files Browse the repository at this point in the history
Fixed label stick
  • Loading branch information
davidmtech authored Dec 17, 2018
2 parents 7acef85 + e947809 commit aea5124
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/core/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ string getCoreVersion()
*/

function getCoreVersion(full) {
return (full ? 'Core: ' : '') + '2.16.8';
return (full ? 'Core: ' : '') + '2.16.10';
}


Expand Down
2 changes: 1 addition & 1 deletion src/core/map/geodata-processor/worker-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aea5124

Please sign in to comment.