Skip to content

Commit 6fcd636

Browse files
committed
Add negate requirement for flood vs ambient properties set
1 parent 19a28a1 commit 6fcd636

File tree

1 file changed

+42
-9
lines changed

1 file changed

+42
-9
lines changed

src/style-spec/reference/v8.json

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5559,6 +5559,12 @@
55595559
},
55605560
"transition": true,
55615561
"doc": "Controls the intensity of shading near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.",
5562+
"requires": [
5563+
"lights",
5564+
{
5565+
"!": "fill-extrusion-flood-light-intensity"
5566+
}
5567+
],
55625568
"sdk-support": {
55635569
"basic functionality": {
55645570
"js": "3.0.0",
@@ -5582,7 +5588,10 @@
55825588
"transition": true,
55835589
"doc": "Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the most plausible results for buildings. This property works only with legacy light. When 3D light is enabled `fill-extrusion-ambient-occlusion-wall-radius` and `fill-extrusion-ambient-occlusion-ground-radius` are used instead.",
55845590
"requires": [
5585-
"fill-extrusion-edge-radius"
5591+
"fill-extrusion-edge-radius",
5592+
{
5593+
"!": "fill-extrusion-flood-light-intensity"
5594+
}
55865595
],
55875596
"sdk-support": {
55885597
"basic functionality": {
@@ -5607,7 +5616,10 @@
56075616
"doc": "Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the most plausible results for buildings.",
56085617
"requires": [
56095618
"lights",
5610-
"fill-extrusion-edge-radius"
5619+
"fill-extrusion-edge-radius",
5620+
{
5621+
"!": "fill-extrusion-flood-light-intensity"
5622+
}
56115623
],
56125624
"sdk-support": {
56135625
"basic functionality": {
@@ -5631,7 +5643,10 @@
56315643
"transition": true,
56325644
"doc": "The extent of the ambient occlusion effect on the ground beneath the extruded buildings in meters.",
56335645
"requires": [
5634-
"lights"
5646+
"lights",
5647+
{
5648+
"!": "fill-extrusion-flood-light-intensity"
5649+
}
56355650
],
56365651
"sdk-support": {
56375652
"basic functionality": {
@@ -5649,7 +5664,10 @@
56495664
"maximum": 1.0,
56505665
"doc": "Provides a control to futher fine-tune the look of the ambient occlusion on the ground beneath the extruded buildings. Lower values give the effect a more solid look while higher values make it smoother.",
56515666
"requires": [
5652-
"lights"
5667+
"lights",
5668+
{
5669+
"!": "fill-extrusion-flood-light-intensity"
5670+
}
56535671
],
56545672
"transition": true,
56555673
"expression": {
@@ -5672,7 +5690,10 @@
56725690
"default": "#ffffff",
56735691
"doc": "The color of the flood light effect on the walls of the extruded buildings.",
56745692
"requires": [
5675-
"lights"
5693+
"lights",
5694+
{
5695+
"!": "fill-extrusion-ambient-occlusion-intensity"
5696+
}
56765697
],
56775698
"transition": true,
56785699
"expression": {
@@ -5698,7 +5719,10 @@
56985719
"maximum": 1.0,
56995720
"doc": "The intensity of the flood light color.",
57005721
"requires": [
5701-
"lights"
5722+
"lights",
5723+
{
5724+
"!": "fill-extrusion-ambient-occlusion-intensity"
5725+
}
57025726
],
57035727
"transition": true,
57045728
"expression": {
@@ -5724,7 +5748,10 @@
57245748
"minimum": 0,
57255749
"doc": "The extent of the flood light effect on the walls of the extruded buildings in meters.",
57265750
"requires": [
5727-
"lights"
5751+
"lights",
5752+
{
5753+
"!": "fill-extrusion-ambient-occlusion-intensity"
5754+
}
57285755
],
57295756
"transition": true,
57305757
"expression": {
@@ -5755,7 +5782,10 @@
57555782
"minimum": 0,
57565783
"doc": "The extent of the flood light effect on the ground beneath the extruded buildings in meters.",
57575784
"requires": [
5758-
"lights"
5785+
"lights",
5786+
{
5787+
"!": "fill-extrusion-ambient-occlusion-intensity"
5788+
}
57595789
],
57605790
"transition": true,
57615791
"expression": {
@@ -5786,7 +5816,10 @@
57865816
"maximum": 1.0,
57875817
"doc": "Provides a control to futher fine-tune the look of the flood light on the ground beneath the extruded buildings. Lower values give the effect a more solid look while higher values make it smoother.",
57885818
"requires": [
5789-
"lights"
5819+
"lights",
5820+
{
5821+
"!": "fill-extrusion-ambient-occlusion-intensity"
5822+
}
57905823
],
57915824
"transition": true,
57925825
"expression": {

0 commit comments

Comments
 (0)