summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-style-code.js3
-rw-r--r--scripts/style-spec.js1
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js
index 1f26e6fd86..04ace18354 100755
--- a/scripts/generate-style-code.js
+++ b/scripts/generate-style-code.js
@@ -60,6 +60,9 @@ global.evaluatedType = function (property) {
if (/position/.test(property.name)) {
return 'Position';
}
+ if (/-radial-offset/.test(property.name)) {
+ return 'RadialOffsetType';
+ }
switch (property.type) {
case 'boolean':
return 'bool';
diff --git a/scripts/style-spec.js b/scripts/style-spec.js
index 8a9c9d4144..3d7ea605d5 100644
--- a/scripts/style-spec.js
+++ b/scripts/style-spec.js
@@ -1 +1,2 @@
var spec = module.exports = require('../mapbox-gl-js/src/style-spec/reference/v8');
+delete spec.layout_symbol['text-writing-mode'];