Return style function from shader
This commit is contained in:
parent
79a770f0af
commit
1cb891ef92
@ -36,7 +36,7 @@ CartoCSS.Layer.prototype = {
|
||||
},
|
||||
|
||||
eval: function(prop) {
|
||||
var p = this.shader[prop];
|
||||
var p = this.shader[prop].style;
|
||||
if (!p) return;
|
||||
return p({}, { zoom: 0, 'frame-offset': 0 });
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user