@mapbox/mapbox-gl-style-spec 14.30.0-rc.1 → 14.31.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
@@ -1624,6 +1624,15 @@
1624
1624
  }
1625
1625
  }
1626
1626
  },
1627
+ "placement-group": {
1628
+ doc: "Marks a placement priority group relative to other layers, going from lower to higher priority. Symbols from groups with higher priorities will be placed first",
1629
+ "sdk-support": {
1630
+ "basic functionality": {
1631
+ }
1632
+ },
1633
+ "private": true,
1634
+ experimental: true
1635
+ },
1627
1636
  clip: {
1628
1637
  doc: "Layer that removes 3D content from map.",
1629
1638
  "sdk-support": {
@@ -1644,7 +1653,7 @@
1644
1653
  },
1645
1654
  source: {
1646
1655
  type: "string",
1647
- doc: "Name of a source description to be used for this layer. Required for all layer types except `background` and `slot`."
1656
+ doc: "Name of a source description to be used for this layer. Required for all layer types except `background`, `slot`, and `placement-group`."
1648
1657
  },
1649
1658
  "source-layer": {
1650
1659
  type: "string",
@@ -9520,6 +9529,60 @@
9520
9529
  ]
9521
9530
  },
9522
9531
  "property-type": "data-driven"
9532
+ },
9533
+ "placement-priority": {
9534
+ type: "number",
9535
+ doc: "In-group placement priority. Higher values are placed first within the symbol's placement group.",
9536
+ "default": 0,
9537
+ minimum: 0,
9538
+ transition: false,
9539
+ appearance: true,
9540
+ expression: {
9541
+ interpolated: true,
9542
+ parameters: [
9543
+ "zoom",
9544
+ "pitch",
9545
+ "feature",
9546
+ "feature-state",
9547
+ "measure-light",
9548
+ "distance-from-center"
9549
+ ]
9550
+ },
9551
+ "property-type": "data-driven",
9552
+ "sdk-support": {
9553
+ "basic functionality": {
9554
+ },
9555
+ "data-driven styling": {
9556
+ }
9557
+ },
9558
+ "private": true,
9559
+ experimental: true
9560
+ },
9561
+ "placement-group": {
9562
+ type: "string",
9563
+ doc: "Assigns this symbol layer to the specified placement-group layer, placing its symbols as if they were drawn within that group. When unset, the layer's symbols use an implicitly created placement group located at the same position as the symbol layer.",
9564
+ transition: false,
9565
+ appearance: true,
9566
+ expression: {
9567
+ interpolated: false,
9568
+ parameters: [
9569
+ "zoom",
9570
+ "pitch",
9571
+ "feature",
9572
+ "feature-state",
9573
+ "measure-light",
9574
+ "distance-from-center"
9575
+ ]
9576
+ },
9577
+ "property-type": "data-driven",
9578
+ "sdk-support": {
9579
+ "basic functionality": {
9580
+ },
9581
+ "data-driven styling": {
9582
+ }
9583
+ },
9584
+ "private": true,
9585
+ experimental: true
9523
9586
  }
9524
9587
  };
9525
9588
  var paint_raster = {
@@ -9917,21 +9980,6 @@
9917
9980
  interpolated: false
9918
9981
  },
9919
9982
  "property-type": "data-constant"
9920
- },
9921
- "raster-allow-draping": {
9922
- type: "boolean",
9923
- "default": true,
9924
- experimental: true,
9925
- doc: "Whether the raster layer is allowed to drape over terrain and globe. When disabled, the layer is rendered after all draped layers, which can change its position in the layer order. Disabling draping has a performance cost, since the terrain/globe geometry must be rendered again for each such layer.",
9926
- transition: false,
9927
- "property-type": "data-constant",
9928
- "sdk-support": {
9929
- "basic functionality": {
9930
- js: "3.28.0",
9931
- android: "11.28.0",
9932
- ios: "11.28.0"
9933
- }
9934
- }
9935
9983
  }
9936
9984
  };
9937
9985
  var paint_hillshade = {
@@ -20354,7 +20402,7 @@ Use an identity property function instead: ${example}.`
20354
20402
  } else {
20355
20403
  type = unbundle(parent.type);
20356
20404
  }
20357
- } else if (!(type === "background" || type === "sky" || type === "slot")) {
20405
+ } else if (!(type === "background" || type === "sky" || type === "slot" || type === "placement-group")) {
20358
20406
  if (!layer.source) {
20359
20407
  errors.push(new ValidationError(key, layer, 'missing required property "source"'));
20360
20408
  } else if (!isString(layer.source)) {