in v0.14.2, if a font: fill or a stroke: color is a function which returns an invalid color value, drawing is prevented for the related tile, and the console returns:
Tangram v0.14.2 [error]: Error building tile mapzen/9/82/198/9: TypeError: Cannot read property '3' of undefined
If a polygon style has a similar color setting it simply doesn't draw – In both cases a more descriptive error message could mention an invalid color as a clue about what was wrong.
in v0.14.2, if a
font: fill
or astroke: color
is a function which returns an invalid color value, drawing is prevented for the related tile, and the console returns:Example scene file:
EXPECTED RESULT:
If a polygon style has a similar
color
setting it simply doesn't draw – In both cases a more descriptive error message could mention an invalid color as a clue about what was wrong.