summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-03-04 22:38:53 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-03-05 14:04:52 +0200
commit7f4cd536c4d7de7cc67bc3d6ac14dd3222806fb4 (patch)
treea8ad29c24b1e20f18ebdd8ba5b1bfd1b83863fbe /scripts
parentbf82b07da2af216fd5c60ba51eca26c6f141ce20 (diff)
downloadqtlocation-mapboxgl-7f4cd536c4d7de7cc67bc3d6ac14dd3222806fb4.tar.gz
[scripts] Disable unsupported style spec features
Diffstat (limited to 'scripts')
-rw-r--r--scripts/style-spec.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/style-spec.js b/scripts/style-spec.js
index 196adc0b32..b2686a6a77 100644
--- a/scripts/style-spec.js
+++ b/scripts/style-spec.js
@@ -1,3 +1,6 @@
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.layout_symbol['symbol-sort-key'];
+delete spec.layout_symbol['symbol-z-order'].values['auto'];
+spec.layout_symbol['symbol-z-order'].default = 'viewport-y'; \ No newline at end of file