@mapbox/mapbox-gl-style-spec 14.32.0-rc.1 → 14.32.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 +22 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.es.js +22 -0
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/reference/v8.json +22 -0
- package/types.ts +2 -0
package/dist/index.cjs
CHANGED
|
@@ -1470,6 +1470,28 @@
|
|
|
1470
1470
|
value: "string",
|
|
1471
1471
|
doc: "An array of one or more tile source URLs, as in the TileJSON spec. Requires `batched-model` source type."
|
|
1472
1472
|
},
|
|
1473
|
+
bounds: {
|
|
1474
|
+
type: "array",
|
|
1475
|
+
value: "number",
|
|
1476
|
+
length: 4,
|
|
1477
|
+
"default": [
|
|
1478
|
+
-180,
|
|
1479
|
+
-85.051129,
|
|
1480
|
+
180,
|
|
1481
|
+
85.051129
|
|
1482
|
+
],
|
|
1483
|
+
doc: "An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL. Requires `batched-model` source type."
|
|
1484
|
+
},
|
|
1485
|
+
extra_bounds: {
|
|
1486
|
+
type: "array",
|
|
1487
|
+
value: {
|
|
1488
|
+
type: "array",
|
|
1489
|
+
value: "number",
|
|
1490
|
+
length: 4,
|
|
1491
|
+
doc: "An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`."
|
|
1492
|
+
},
|
|
1493
|
+
doc: "An array of additional discrete geographic regions where tiles are available. When used alongside the `bounds` property, these regions act as an additional filter - Mapbox GL will only request tiles that are both within the `bounds` and any of the regions defined in `extra_bounds`. When used independently (without `bounds`), Mapbox GL will request tiles that fall within any of the regions in `extra_bounds`. This allows for more fine-grained control over tile requests, particularly when dealing with sparse data coverage. Requires `batched-model` source type."
|
|
1494
|
+
},
|
|
1473
1495
|
models: {
|
|
1474
1496
|
type: "modelSourceModels",
|
|
1475
1497
|
doc: "Defines properties of 3D models in collection. Requires `model` source type."
|