diff options
author | Jesse Bounds <jesse@rebounds.net> | 2017-01-12 16:06:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-12 16:06:23 -0800 |
commit | 00bacf59517668227412aa35041417372489394c (patch) | |
tree | a03cd870327c2500319e56c7277c45aa0f95a4f3 | |
parent | 831bb21dc84b39c32a5339b3142b28c92208a64a (diff) | |
download | qtlocation-mapboxgl-00bacf59517668227412aa35041417372489394c.tar.gz |
[ios, macos] Temporarily ignore the fill extrusion layer (#7706)
-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) { |