@mapbox/mapbox-gl-style-spec 14.33.0 → 14.34.0-rc.1

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.
package/dist/index.cjs CHANGED
@@ -204,7 +204,7 @@
204
204
  },
205
205
  projection: {
206
206
  type: "projection",
207
- doc: "The projection the map should be rendered in. Supported projections are Mercator, Globe, Albers, Equal Earth, Equirectangular (WGS84), Lambert conformal conic, Natural Earth, and Winkel Tripel. Terrain, sky and fog are supported by only Mercator and globe. CustomLayerInterface is not supported outside of Mercator.",
207
+ doc: "The projection the map should be rendered in. Supported projections are Mercator, Globe, Albers, Equal Earth, Equirectangular (WGS84), Lambert conformal conic, Natural Earth, and Winkel Tripel. Terrain, sky and fog are supported by only Mercator and globe. CustomLayerInterface is supported by only Mercator and globe.",
208
208
  example: {
209
209
  name: "albers",
210
210
  center: [
@@ -2400,7 +2400,6 @@
2400
2400
  minimum: 0,
2401
2401
  units: "meters",
2402
2402
  doc: "The height of the procedural buildings.",
2403
- transition: true,
2404
2403
  "private": true,
2405
2404
  "sdk-support": {
2406
2405
  "basic functionality": {
@@ -2425,7 +2424,6 @@
2425
2424
  minimum: 0,
2426
2425
  units: "meters",
2427
2426
  doc: "The height with which to extrude the base of this layer. Must be less than or equal to `building-height`.",
2428
- transition: true,
2429
2427
  requires: [
2430
2428
  "building-height"
2431
2429
  ],
@@ -2458,7 +2456,6 @@
2458
2456
  requires: [
2459
2457
  "lights"
2460
2458
  ],
2461
- transition: true,
2462
2459
  expression: {
2463
2460
  interpolated: true,
2464
2461
  parameters: [
@@ -2489,7 +2486,6 @@
2489
2486
  requires: [
2490
2487
  "lights"
2491
2488
  ],
2492
- transition: true,
2493
2489
  expression: {
2494
2490
  interpolated: true,
2495
2491
  parameters: [
@@ -2516,7 +2512,6 @@
2516
2512
  "private": true,
2517
2513
  "default": false,
2518
2514
  doc: "Flips the orientation of the roofs for the buildings. This only affects simple geometries. Namely buildings whose footprints form a quadrilateral. By default (false), the roof ridge takes the direction of the longer edge of the quadrilateral.",
2519
- transition: true,
2520
2515
  requires: [
2521
2516
  "building-roof-shape"
2522
2517
  ],
@@ -2860,7 +2855,6 @@
2860
2855
  requires: [
2861
2856
  "line-z-offset"
2862
2857
  ],
2863
- transition: true,
2864
2858
  "property-type": "data-driven"
2865
2859
  }
2866
2860
  };
@@ -15169,7 +15163,7 @@
15169
15163
  serialize() {
15170
15164
  const res = ["config", this.key];
15171
15165
  if (this.scope) {
15172
- res.concat(this.scope);
15166
+ res.push(this.scope);
15173
15167
  }
15174
15168
  return res;
15175
15169
  }
@@ -17996,12 +17990,13 @@
17996
17990
  return;
17997
17991
  }
17998
17992
  if (e instanceof CompoundExpression && e.name === "is-active-floor") deps.isIndoorDependent = true;
17993
+ if (e instanceof ImageExpression) deps.isImageDependent = true;
17999
17994
  e.eachChild((arg) => {
18000
17995
  collect(arg, deps);
18001
17996
  });
18002
17997
  }
18003
17998
  function getExpressionDependencies(e) {
18004
- const deps = { configDependencies: NO_CONFIG_DEPENDENCIES, isIndoorDependent: false };
17999
+ const deps = { configDependencies: NO_CONFIG_DEPENDENCIES, isIndoorDependent: false, isImageDependent: false };
18005
18000
  collect(e, deps);
18006
18001
  return deps;
18007
18002
  }
@@ -18226,6 +18221,7 @@
18226
18221
  const dependencies = getExpressionDependencies(expression);
18227
18222
  this.configDependencies = dependencies.configDependencies;
18228
18223
  this.isIndoorDependent = dependencies.isIndoorDependent;
18224
+ this.isImageDependent = dependencies.isImageDependent;
18229
18225
  }
18230
18226
  evaluateWithoutErrorHandling(globals, feature, featureState, canonical, availableImages, formattedSection, featureTileCoord, featureDistanceData) {
18231
18227
  const evaluator = this._evaluator;