@mapbox/mapbox-gl-style-spec 14.9.0-beta.1 → 14.9.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 +109 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.es.js +109 -24
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/reference/v8.json +78 -24
- package/types.ts +0 -6
package/package.json
CHANGED
package/reference/v8.json
CHANGED
|
@@ -1584,8 +1584,7 @@
|
|
|
1584
1584
|
"expression": {
|
|
1585
1585
|
"interpolated": false
|
|
1586
1586
|
},
|
|
1587
|
-
"property-type": "data-constant"
|
|
1588
|
-
"experimental": true
|
|
1587
|
+
"property-type": "data-constant"
|
|
1589
1588
|
},
|
|
1590
1589
|
"clip-layer-scope": {
|
|
1591
1590
|
"type": "array",
|
|
@@ -1602,8 +1601,7 @@
|
|
|
1602
1601
|
"expression": {
|
|
1603
1602
|
"interpolated": false
|
|
1604
1603
|
},
|
|
1605
|
-
"property-type": "data-constant"
|
|
1606
|
-
"experimental": true
|
|
1604
|
+
"property-type": "data-constant"
|
|
1607
1605
|
}
|
|
1608
1606
|
},
|
|
1609
1607
|
"layout_fill": {
|
|
@@ -4256,7 +4254,7 @@
|
|
|
4256
4254
|
}
|
|
4257
4255
|
},
|
|
4258
4256
|
"image": {
|
|
4259
|
-
"doc": "Returns a [`ResolvedImage`](/
|
|
4257
|
+
"doc": "Returns a [`ResolvedImage`](/style-spec/reference/types/#resolvedimage) for use in [`icon-image`](/style-spec/reference/layers/#layout-symbol-icon-image), `*-pattern` entries, and as a section in the [`'format'`](#types-format) expression.\n\nA [`'coalesce'`](#coalesce) expression containing `image` expressions will evaluate to the first listed image that is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `'image'` argument.\n\nEvery image name can be followed by an optional [`ImageOptions`](/style-spec/reference/types/#imageoptions) object, which will be used for vector images only.\n\nTo implement crossfading between two images within a symbol layer using the [`icon-image-cross-fade`](/style-spec/reference/layers/#paint-symbol-icon-image-cross-fade) attribute, include a second image as the second argument in the `'image'` expression.",
|
|
4260
4258
|
"group": "Types",
|
|
4261
4259
|
"sdk-support": {
|
|
4262
4260
|
"basic functionality": {
|
|
@@ -5253,7 +5251,15 @@
|
|
|
5253
5251
|
"density": {
|
|
5254
5252
|
"type": "number",
|
|
5255
5253
|
"property-type": "data-constant",
|
|
5256
|
-
"default":
|
|
5254
|
+
"default": [
|
|
5255
|
+
"interpolate",
|
|
5256
|
+
["linear"],
|
|
5257
|
+
["zoom"],
|
|
5258
|
+
11,
|
|
5259
|
+
0.0,
|
|
5260
|
+
13,
|
|
5261
|
+
0.85
|
|
5262
|
+
],
|
|
5257
5263
|
"minimum": 0,
|
|
5258
5264
|
"maximum": 1,
|
|
5259
5265
|
"experimental": true,
|
|
@@ -5323,7 +5329,7 @@
|
|
|
5323
5329
|
"opacity": {
|
|
5324
5330
|
"type": "number",
|
|
5325
5331
|
"property-type": "data-constant",
|
|
5326
|
-
"default": 0
|
|
5332
|
+
"default": 1.0,
|
|
5327
5333
|
"minimum": 0,
|
|
5328
5334
|
"maximum": 1,
|
|
5329
5335
|
"experimental": true,
|
|
@@ -5347,7 +5353,15 @@
|
|
|
5347
5353
|
"vignette": {
|
|
5348
5354
|
"type": "number",
|
|
5349
5355
|
"property-type": "data-constant",
|
|
5350
|
-
"default":
|
|
5356
|
+
"default": [
|
|
5357
|
+
"interpolate",
|
|
5358
|
+
["linear"],
|
|
5359
|
+
["zoom"],
|
|
5360
|
+
11,
|
|
5361
|
+
0.0,
|
|
5362
|
+
13,
|
|
5363
|
+
0.3
|
|
5364
|
+
],
|
|
5351
5365
|
"minimum": 0,
|
|
5352
5366
|
"maximum": 1,
|
|
5353
5367
|
"experimental": true,
|
|
@@ -5393,7 +5407,7 @@
|
|
|
5393
5407
|
"center-thinning": {
|
|
5394
5408
|
"type": "number",
|
|
5395
5409
|
"property-type": "data-constant",
|
|
5396
|
-
"default":
|
|
5410
|
+
"default": 0.4,
|
|
5397
5411
|
"minimum": 0,
|
|
5398
5412
|
"maximum": 1,
|
|
5399
5413
|
"experimental": true,
|
|
@@ -5418,7 +5432,7 @@
|
|
|
5418
5432
|
"type": "array",
|
|
5419
5433
|
"default": [
|
|
5420
5434
|
0.0,
|
|
5421
|
-
|
|
5435
|
+
50.0
|
|
5422
5436
|
],
|
|
5423
5437
|
"minimum": 0,
|
|
5424
5438
|
"maximum": 360,
|
|
@@ -5450,7 +5464,7 @@
|
|
|
5450
5464
|
"flake-size": {
|
|
5451
5465
|
"type": "number",
|
|
5452
5466
|
"property-type": "data-constant",
|
|
5453
|
-
"default":
|
|
5467
|
+
"default": 0.71,
|
|
5454
5468
|
"minimum": 0,
|
|
5455
5469
|
"maximum": 5,
|
|
5456
5470
|
"experimental": true,
|
|
@@ -5476,7 +5490,15 @@
|
|
|
5476
5490
|
"density": {
|
|
5477
5491
|
"type": "number",
|
|
5478
5492
|
"property-type": "data-constant",
|
|
5479
|
-
"default":
|
|
5493
|
+
"default": [
|
|
5494
|
+
"interpolate",
|
|
5495
|
+
["linear"],
|
|
5496
|
+
["zoom"],
|
|
5497
|
+
11,
|
|
5498
|
+
0.0,
|
|
5499
|
+
13,
|
|
5500
|
+
0.5
|
|
5501
|
+
],
|
|
5480
5502
|
"minimum": 0,
|
|
5481
5503
|
"maximum": 1,
|
|
5482
5504
|
"experimental": true,
|
|
@@ -5524,7 +5546,15 @@
|
|
|
5524
5546
|
"color": {
|
|
5525
5547
|
"type": "color",
|
|
5526
5548
|
"property-type": "data-constant",
|
|
5527
|
-
"default":
|
|
5549
|
+
"default": [
|
|
5550
|
+
"interpolate",
|
|
5551
|
+
["linear"],
|
|
5552
|
+
[ "measure-light", "brightness" ],
|
|
5553
|
+
0,
|
|
5554
|
+
"#03113d",
|
|
5555
|
+
0.3,
|
|
5556
|
+
"#a8adbc"
|
|
5557
|
+
],
|
|
5528
5558
|
"experimental": true,
|
|
5529
5559
|
"expression": {
|
|
5530
5560
|
"interpolated": true,
|
|
@@ -5546,7 +5576,15 @@
|
|
|
5546
5576
|
"opacity": {
|
|
5547
5577
|
"type": "number",
|
|
5548
5578
|
"property-type": "data-constant",
|
|
5549
|
-
"default":
|
|
5579
|
+
"default": [
|
|
5580
|
+
"interpolate",
|
|
5581
|
+
["linear"],
|
|
5582
|
+
[ "measure-light", "brightness" ],
|
|
5583
|
+
0,
|
|
5584
|
+
0.88,
|
|
5585
|
+
1,
|
|
5586
|
+
0.7
|
|
5587
|
+
],
|
|
5550
5588
|
"minimum": 0,
|
|
5551
5589
|
"maximum": 1,
|
|
5552
5590
|
"experimental": true,
|
|
@@ -5570,7 +5608,15 @@
|
|
|
5570
5608
|
"vignette": {
|
|
5571
5609
|
"type": "number",
|
|
5572
5610
|
"property-type": "data-constant",
|
|
5573
|
-
"default":
|
|
5611
|
+
"default": [
|
|
5612
|
+
"interpolate",
|
|
5613
|
+
["linear"],
|
|
5614
|
+
["zoom"],
|
|
5615
|
+
11,
|
|
5616
|
+
0.0,
|
|
5617
|
+
13,
|
|
5618
|
+
1.0
|
|
5619
|
+
],
|
|
5574
5620
|
"minimum": 0,
|
|
5575
5621
|
"maximum": 1,
|
|
5576
5622
|
"experimental": true,
|
|
@@ -5594,7 +5640,15 @@
|
|
|
5594
5640
|
"vignette-color": {
|
|
5595
5641
|
"type": "color",
|
|
5596
5642
|
"property-type": "data-constant",
|
|
5597
|
-
"default":
|
|
5643
|
+
"default": [
|
|
5644
|
+
"interpolate",
|
|
5645
|
+
["linear"],
|
|
5646
|
+
[ "measure-light", "brightness" ],
|
|
5647
|
+
0,
|
|
5648
|
+
"#001736",
|
|
5649
|
+
0.3,
|
|
5650
|
+
"#464646"
|
|
5651
|
+
],
|
|
5598
5652
|
"experimental": true,
|
|
5599
5653
|
"expression": {
|
|
5600
5654
|
"interpolated": true,
|
|
@@ -5616,7 +5670,7 @@
|
|
|
5616
5670
|
"center-thinning": {
|
|
5617
5671
|
"type": "number",
|
|
5618
5672
|
"property-type": "data-constant",
|
|
5619
|
-
"default":
|
|
5673
|
+
"default": 0.57,
|
|
5620
5674
|
"minimum": 0,
|
|
5621
5675
|
"maximum": 1,
|
|
5622
5676
|
"experimental": true,
|
|
@@ -5673,11 +5727,11 @@
|
|
|
5673
5727
|
"droplet-size": {
|
|
5674
5728
|
"type": "array",
|
|
5675
5729
|
"default": [
|
|
5676
|
-
|
|
5677
|
-
|
|
5730
|
+
2.6,
|
|
5731
|
+
18.2
|
|
5678
5732
|
],
|
|
5679
5733
|
"minimum": 0,
|
|
5680
|
-
"maximum":
|
|
5734
|
+
"maximum": 50,
|
|
5681
5735
|
"length": 2,
|
|
5682
5736
|
"value": "number",
|
|
5683
5737
|
"property-type": "data-constant",
|
|
@@ -5706,7 +5760,7 @@
|
|
|
5706
5760
|
"distortion-strength": {
|
|
5707
5761
|
"type": "number",
|
|
5708
5762
|
"property-type": "data-constant",
|
|
5709
|
-
"default": 0.
|
|
5763
|
+
"default": 0.7,
|
|
5710
5764
|
"minimum": 0,
|
|
5711
5765
|
"maximum": 1,
|
|
5712
5766
|
"experimental": true,
|
|
@@ -8988,9 +9042,9 @@
|
|
|
8988
9042
|
],
|
|
8989
9043
|
"sdk-support": {
|
|
8990
9044
|
"basic functionality": {
|
|
8991
|
-
"js": "3.
|
|
8992
|
-
"android": "11.
|
|
8993
|
-
"ios": "11.
|
|
9045
|
+
"js": "3.1.0",
|
|
9046
|
+
"android": "11.1.0",
|
|
9047
|
+
"ios": "11.1.0"
|
|
8994
9048
|
}
|
|
8995
9049
|
},
|
|
8996
9050
|
"expression": {
|
package/types.ts
CHANGED
|
@@ -1185,13 +1185,7 @@ export type ClipLayerSpecification = {
|
|
|
1185
1185
|
"maxzoom"?: number,
|
|
1186
1186
|
"filter"?: FilterSpecification,
|
|
1187
1187
|
"layout"?: {
|
|
1188
|
-
/**
|
|
1189
|
-
* @experimental This property is experimental and subject to change in future versions.
|
|
1190
|
-
*/
|
|
1191
1188
|
"clip-layer-types"?: ExpressionSpecification,
|
|
1192
|
-
/**
|
|
1193
|
-
* @experimental This property is experimental and subject to change in future versions.
|
|
1194
|
-
*/
|
|
1195
1189
|
"clip-layer-scope"?: ExpressionSpecification
|
|
1196
1190
|
},
|
|
1197
1191
|
"paint"?: never
|