Style validation should check for attempts to use "{interpolation}" syntax in properties that aren't text-field or icon-image, and output an error message that provides the correct use of a data-driven property.
E.g. if the validator sees "icon-rotate": "{rotation}", the error message could be: "The icon-rotate property does not support string interpolation syntax. Use a property function instead: "icon-rotate": { "type": "identity", "property": "rotation" }.
Style validation should check for attempts to use "{interpolation}" syntax in properties that aren't
text-field
oricon-image
, and output an error message that provides the correct use of a data-driven property.E.g. if the validator sees
"icon-rotate": "{rotation}"
, the error message could be: "Theicon-rotate
property does not support string interpolation syntax. Use a property function instead:"icon-rotate": { "type": "identity", "property": "rotation" }
.cc @geografa