diff options
-rw-r--r-- | platform/darwin/scripts/generate-style-code.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/platform/darwin/scripts/generate-style-code.js b/platform/darwin/scripts/generate-style-code.js index e7041ad9f3..6606c956f2 100644 --- a/platform/darwin/scripts/generate-style-code.js +++ b/platform/darwin/scripts/generate-style-code.js @@ -8,10 +8,16 @@ const colorParser = require('csscolorparser'); require('../../../scripts/style-code'); const cocoaConventions = require('./style-spec-cocoa-conventions-v8.json'); -let spec = _.merge(require('mapbox-gl-style-spec').latest, require('./style-spec-overrides-v8.json')); const prefix = 'MGL'; const suffix = 'StyleLayer'; +let spec = _.merge(require('mapbox-gl-style-spec').latest, require('./style-spec-overrides-v8.json')); + +/// +// Temporarily IGNORE layers that are in the spec yet still not supported in mbgl core +/// +delete spec.layer.type.values['fill-extrusion']; + // Rename properties and keep `original` for use with setters and getters _.forOwn(cocoaConventions, function (properties, kind) { _.forOwn(properties, function (newName, oldName) { |