diff options
author | Lauren Budorick <lauren@mapbox.com> | 2017-08-23 15:03:15 -0700 |
---|---|---|
committer | Lauren Budorick <lauren@mapbox.com> | 2017-08-28 12:42:51 -0700 |
commit | be18e6a9bdf0b5cad38c4bab6fa391cff49d6dfd (patch) | |
tree | e930ceb8436646e0d6747f2b3e805bd640f2a436 /scripts/generate-style-code.js | |
parent | c6ab20e5c69c3705422e49c3511faf3e5ab79b05 (diff) | |
download | qtlocation-mapboxgl-upstream/icon-anchor.tar.gz |
Implement icon-anchor propertyupstream/icon-anchor
Diffstat (limited to 'scripts/generate-style-code.js')
-rw-r--r-- | scripts/generate-style-code.js | 3 |
1 files changed, 3 insertions, 0 deletions
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'; } |