Skip to content

Commit

Permalink
Merge pull request #94 from DavidLevinsky/master
Browse files Browse the repository at this point in the history
Fixed filters in geodata styles
  • Loading branch information
davidmtech authored Mar 1, 2018
2 parents da8a336 + b4ffbe4 commit 3bba9bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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.13.4",
"version": "2.13.6",
"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 @@ -479,7 +479,7 @@ string getCoreVersion()
*/

function getCoreVersion(full) {
return (full ? 'Core: ' : '') + '2.13.4';
return (full ? 'Core: ' : '') + '2.13.6';
}


Expand Down
3 changes: 3 additions & 0 deletions src/core/map/geodata-processor/worker-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var getLayerExpresionValue = function(layer, value, feature, lod, key) {
case '#':
//debugger;
switch(value) {
case '#id': finalValue = feature.id; break;
case '#type': finalValue = globals.featureType; break;
case '#group': finalValue = globals.groupId; break;
case '#lod': finalValue = globals.tileLod; break;
Expand Down Expand Up @@ -58,6 +59,7 @@ var getLayerExpresionValue = function(layer, value, feature, lod, key) {
case '#':
//debugger;
switch(str) {
case '#id': finalValue = feature.id; break;
case '#type': finalValue = globals.featureType; break;
case '#group': finalValue = globals.groupId; break;
case '#lod': finalValue = globals.tileLod; break;
Expand Down Expand Up @@ -155,6 +157,7 @@ var getLayerPropertyValueInner = function(layer, key, feature, lod, value, depth
case '#':
//debugger;
switch(value) {
case '#id': finalValue = feature.id; break;
case '#type': finalValue = globals.featureType; break;
case '#group': finalValue = globals.groupId; break;
case '#lod': finalValue = globals.tileLod; break;
Expand Down

0 comments on commit 3bba9bb

Please sign in to comment.