Skip to content

Commit

Permalink
Replace lights requirement in property doc with requires (#12896)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristen committed Oct 24, 2023
1 parent ca554ae commit 19a28a1
Showing 1 changed file with 54 additions and 14 deletions.
68 changes: 54 additions & 14 deletions src/style-spec/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -5293,7 +5293,10 @@
"minimum": 0,
"transition": true,
"units": "intensity",
"doc": "Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "Controls the intensity of light emitted on the source features.",
"requires": [
"lights"
],
"sdk-support": {
"basic functionality": {
"js": "3.0.0",
Expand Down Expand Up @@ -5601,8 +5604,9 @@
]
},
"transition": true,
"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 3D light, i.e. when `lights` root property is defined.",
"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.",
"requires": [
"lights",
"fill-extrusion-edge-radius"
],
"sdk-support": {
Expand All @@ -5625,7 +5629,10 @@
]
},
"transition": true,
"doc": "The extent of the ambient occlusion effect on the ground beneath the extruded buildings in meters. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "The extent of the ambient occlusion effect on the ground beneath the extruded buildings in meters.",
"requires": [
"lights"
],
"sdk-support": {
"basic functionality": {
"js": "3.0.0",
Expand All @@ -5640,7 +5647,10 @@
"default": 0.69,
"minimum": 0.0,
"maximum": 1.0,
"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. This property works only with 3D light, i.e. when `lights` root property is defined.",
"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.",
"requires": [
"lights"
],
"transition": true,
"expression": {
"interpolated": true,
Expand All @@ -5660,7 +5670,10 @@
"property-type": "data-constant",
"type": "color",
"default": "#ffffff",
"doc": "The color of the flood light effect on the walls of the extruded buildings. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "The color of the flood light effect on the walls of the extruded buildings.",
"requires": [
"lights"
],
"transition": true,
"expression": {
"interpolated": true,
Expand All @@ -5683,7 +5696,10 @@
"default": 0.0,
"minimum": 0.0,
"maximum": 1.0,
"doc": "The intensity of the flood light color. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "The intensity of the flood light color.",
"requires": [
"lights"
],
"transition": true,
"expression": {
"interpolated": true,
Expand All @@ -5706,7 +5722,10 @@
"units": "meters",
"default": 0,
"minimum": 0,
"doc": "The extent of the flood light effect on the walls of the extruded buildings in meters. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "The extent of the flood light effect on the walls of the extruded buildings in meters.",
"requires": [
"lights"
],
"transition": true,
"expression": {
"interpolated": true,
Expand Down Expand Up @@ -5734,7 +5753,10 @@
"units": "meters",
"default": 0,
"minimum": 0,
"doc": "The extent of the flood light effect on the ground beneath the extruded buildings in meters. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "The extent of the flood light effect on the ground beneath the extruded buildings in meters.",
"requires": [
"lights"
],
"transition": true,
"expression": {
"interpolated": true,
Expand Down Expand Up @@ -5762,7 +5784,10 @@
"default": 0.69,
"minimum": 0.0,
"maximum": 1.0,
"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. This property works only with 3D light, i.e. when `lights` root property is defined.",
"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.",
"requires": [
"lights"
],
"transition": true,
"expression": {
"interpolated": true,
Expand Down Expand Up @@ -6236,7 +6261,10 @@
"minimum": 0,
"transition": true,
"units": "intensity",
"doc": "Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "Controls the intensity of light emitted on the source features.",
"requires": [
"lights"
],
"sdk-support": {
"basic functionality": {
"js": "3.0.0",
Expand Down Expand Up @@ -6650,7 +6678,10 @@
"minimum": 0,
"transition": true,
"units": "intensity",
"doc": "Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "Controls the intensity of light emitted on the source features.",
"requires": [
"lights"
],
"sdk-support": {
"basic functionality": {
"js": "3.0.0",
Expand Down Expand Up @@ -6862,7 +6893,10 @@
"minimum": 0,
"transition": true,
"units": "intensity",
"doc": "Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "Controls the intensity of light emitted on the source features.",
"requires": [
"lights"
],
"sdk-support": {
"basic functionality": {
"js": "3.0.0",
Expand Down Expand Up @@ -6890,7 +6924,10 @@
"minimum": 0,
"transition": true,
"units": "intensity",
"doc": "Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "Controls the intensity of light emitted on the source features.",
"requires": [
"lights"
],
"sdk-support": {
"basic functionality": {
"js": "3.0.0",
Expand Down Expand Up @@ -7895,7 +7932,10 @@
"minimum": 0,
"transition": true,
"units": "intensity",
"doc": "Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when `lights` root property is defined.",
"doc": "Controls the intensity of light emitted on the source features.",
"requires": [
"lights"
],
"sdk-support": {
"basic functionality": {
"js": "3.0.0",
Expand Down

0 comments on commit 19a28a1

Please sign in to comment.