@mapbox/mapbox-gl-style-spec 14.13.0-beta.1 → 14.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,15 +25,7 @@ function stringify(obj: any) {
25
25
  function getKey(layer: LayerSpecification) {
26
26
  let key = '';
27
27
  for (const k of refProperties) {
28
- // Ignore minzoom and maxzoom for model layers so that multiple model layers
29
- // referencing the same source (but with different zoom ranges) produce the same
30
- // key. This ensures they get grouped into a single bucket, preventing a scenario
31
- // where shared node data is serialized twice and triggers an assert in struct_array.ts.
32
- if (layer.type === 'model' && (k === 'minzoom' || k === 'maxzoom')) {
33
- continue;
34
- } else {
35
- key += `/${stringify(layer[k])}`;
36
- }
28
+ key += `/${stringify(layer[k])}`;
37
29
  }
38
30
  return key;
39
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapbox/mapbox-gl-style-spec",
3
- "version": "14.13.0-beta.1",
3
+ "version": "14.13.0",
4
4
  "description": "a specification for mapbox gl styles",
5
5
  "author": "Mapbox",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",