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