Skip to content

Commit 54ca978

Browse files
JoshuaJMooreibesora
authored andcommitted
fixed types
1 parent 4c8b1b4 commit 54ca978

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/style-spec/reference/v8.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,6 +1832,7 @@
18321832
"model-allow-density-reduction": {
18331833
"type": "boolean",
18341834
"default": true,
1835+
"transition": false,
18351836
"doc": "If true, the models will be reduced in density based on the zoom level. This is useful for large datasets that may be slow to render.",
18361837
"sdk-support": {
18371838
"basic functionality": {
@@ -1840,9 +1841,6 @@
18401841
"ios": "2.0.0"
18411842
}
18421843
},
1843-
"expression": {
1844-
"interpolated": false
1845-
},
18461844
"property-type": "data-constant"
18471845
}
18481846
},

src/style-spec/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,8 +1360,8 @@ export type ModelLayerSpecification = {
13601360
"filter"?: FilterSpecification,
13611361
"layout"?: {
13621362
"visibility"?: "visible" | "none" | ExpressionSpecification,
1363-
"model-id"?: DataDrivenPropertyValueSpecification<string>
1364-
"model-allow-density-reduction"?: PropertyValueSpecification<boolean>,
1363+
"model-id"?: DataDrivenPropertyValueSpecification<string>,
1364+
"model-allow-density-reduction"?: boolean
13651365
},
13661366
"paint"?: {
13671367
"model-opacity"?: DataDrivenPropertyValueSpecification<number>,

0 commit comments

Comments
 (0)