This commit is contained in:
Stuart Lynn 2015-09-09 10:38:37 -04:00
parent b24b4b0db9
commit a2f7ce04ea
4 changed files with 42 additions and 18 deletions

10
dist/torque.full.js vendored

File diff suppressed because one or more lines are too long

View File

@ -4639,6 +4639,18 @@ var Filters = require('./torque_filters');
var st = shader.getStyle({
value: value
}, shaderVars);
var processingVars = {}
for(var key in shaderVars){ processingVars[key]= shaderVars[key]}
processingVars.value = value
var varsToProcess = ['marker-width', 'marker-fill-opacity', 'marker-fill', 'marker-stroke']
varsToProcess.forEach(function(key){
if(st[key]){
st[key] = this.processScaleFunction(st[key], processingVars)
}
}.bind(this))
if(this._style === null || this._style !== st){
this._style = st;
}

2
dist/torque.js vendored

File diff suppressed because one or more lines are too long

View File

@ -4646,6 +4646,18 @@ var Filters = require('./torque_filters');
var st = shader.getStyle({
value: value
}, shaderVars);
var processingVars = {}
for(var key in shaderVars){ processingVars[key]= shaderVars[key]}
processingVars.value = value
var varsToProcess = ['marker-width', 'marker-fill-opacity', 'marker-fill', 'marker-stroke']
varsToProcess.forEach(function(key){
if(st[key]){
st[key] = this.processScaleFunction(st[key], processingVars)
}
}.bind(this))
if(this._style === null || this._style !== st){
this._style = st;
}