summaryrefslogtreecommitdiff
path: root/scripts/style-spec.js
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-01-10 16:04:06 -0800
committerKonstantin Käfer <mail@kkaefer.com>2018-01-24 08:35:31 -0800
commit9d1fa508a34f013573294794028f4ffa5a5f5f3d (patch)
treeeb6ac03a51c5206040a2b46919c2c1433a292775 /scripts/style-spec.js
parent1a2c316f951ad4d19b0eb89eba2559801deaa385 (diff)
downloadqtlocation-mapboxgl-9d1fa508a34f013573294794028f4ffa5a5f5f3d.tar.gz
[build] Add temporary modifications to style spec + shaders
This ensures that the generated code matches what is checked in. Remove those temporary modifications once we add the features to master.
Diffstat (limited to 'scripts/style-spec.js')
-rw-r--r--scripts/style-spec.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/style-spec.js b/scripts/style-spec.js
new file mode 100644
index 0000000000..00daee70d0
--- /dev/null
+++ b/scripts/style-spec.js
@@ -0,0 +1,5 @@
+var spec = module.exports = require('../mapbox-gl-js/src/style-spec/reference/v8');
+
+// Make temporary modifications here when Native doesn't have all features that JS has.
+
+delete spec.layer.type.values.heatmap;