Skip to content

Commit

Permalink
Make ambient occlusion and edge radius private in the style-spec (map…
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin authored Aug 9, 2022
1 parent dcc5a2b commit 4c010b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/style-spec/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@
},
"fill-extrusion-edge-radius": {
"type": "number",
"private": true,
"default": 0,
"minimum": 0,
"maximum": 1,
Expand Down Expand Up @@ -4674,6 +4675,7 @@
"fill-extrusion-ambient-occlusion-intensity": {
"property-type": "data-constant",
"type": "number",
"private": true,
"default": 0.0,
"minimum": 0,
"maximum": 1,
Expand All @@ -4696,6 +4698,7 @@
"fill-extrusion-ambient-occlusion-radius": {
"property-type": "data-constant",
"type": "number",
"private": true,
"default": 3.0,
"minimum": 0,
"expression": {
Expand Down
3 changes: 2 additions & 1 deletion test/unit/style-spec/spec.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ function validSchema(k, t, obj, ref, version, kind) {
'period',
'requires',
'sdk-support',
'overridable'
'overridable',
'private'
];

// Schema object.
Expand Down

0 comments on commit 4c010b2

Please sign in to comment.