@mapbox/mapbox-gl-style-spec 14.30.0-alpha.742b92e7a62 → 14.30.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.
- package/dist/index.cjs +2 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -72
- package/dist/index.es.js +2 -65
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/reference/v8.json +1 -59
- package/types.ts +1 -30
- package/validate/validate_layer.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1624,15 +1624,6 @@
|
|
|
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
|
-
},
|
|
1636
1627
|
clip: {
|
|
1637
1628
|
doc: "Layer that removes 3D content from map.",
|
|
1638
1629
|
"sdk-support": {
|
|
@@ -1653,7 +1644,7 @@
|
|
|
1653
1644
|
},
|
|
1654
1645
|
source: {
|
|
1655
1646
|
type: "string",
|
|
1656
|
-
doc: "Name of a source description to be used for this layer. Required for all layer types except `background
|
|
1647
|
+
doc: "Name of a source description to be used for this layer. Required for all layer types except `background` and `slot`."
|
|
1657
1648
|
},
|
|
1658
1649
|
"source-layer": {
|
|
1659
1650
|
type: "string",
|
|
@@ -9529,60 +9520,6 @@
|
|
|
9529
9520
|
]
|
|
9530
9521
|
},
|
|
9531
9522
|
"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
|
|
9586
9523
|
}
|
|
9587
9524
|
};
|
|
9588
9525
|
var paint_raster = {
|
|
@@ -20417,7 +20354,7 @@ Use an identity property function instead: ${example}.`
|
|
|
20417
20354
|
} else {
|
|
20418
20355
|
type = unbundle(parent.type);
|
|
20419
20356
|
}
|
|
20420
|
-
} else if (!(type === "background" || type === "sky" || type === "slot"
|
|
20357
|
+
} else if (!(type === "background" || type === "sky" || type === "slot")) {
|
|
20421
20358
|
if (!layer.source) {
|
|
20422
20359
|
errors.push(new ValidationError(key, layer, 'missing required property "source"'));
|
|
20423
20360
|
} else if (!isString(layer.source)) {
|