From be18e6a9bdf0b5cad38c4bab6fa391cff49d6dfd Mon Sep 17 00:00:00 2001 From: Lauren Budorick Date: Wed, 23 Aug 2017 15:03:15 -0700 Subject: Implement icon-anchor property --- scripts/generate-style-code.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/generate-style-code.js') diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js index b1d0ed28ec..fe9a1a906b 100644 --- a/scripts/generate-style-code.js +++ b/scripts/generate-style-code.js @@ -29,6 +29,9 @@ global.evaluatedType = function (property) { if (/-(rotation|pitch|illumination)-alignment$/.test(property.name)) { return 'AlignmentType'; } + if (/^(text|icon)-anchor$/.test(property.name)) { + return 'SymbolAnchorType'; + } if (/position/.test(property.name)) { return 'Position'; } -- cgit v1.2.1