[scripts] Disable unsupported style spec features

This commit is contained in:
Mikhail Pozdnyakov
2019-03-04 22:38:53 +02:00
parent bf82b07da2
commit 7f4cd536c4

View File

@@ -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';