You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Selects the base of the model. Some modes might require precomputed elevation data in the tileset. When using vector tiled source as the model layer source and hdRoadMarkup elevation reference, this property acts as layout property and elevation is evaluated only in tile loading time.
735
+
736
+
#### Type
737
+
`enum`
738
+
#### Default Value
739
+
`ground`
740
+
741
+
#### Supported Values
742
+
**sea** - Elevated rendering is enabled. Use this mode to elevate models relative to the sea level.<br />
743
+
**ground** - Elevated rendering is enabled. Use this mode to elevate models relative to the ground's height below them.<br />
744
+
**hd-road-markup** - Elevated rendering is enabled. Use this mode to describe additive and stackable features that should exist only on top of road polygons.<br />
Copy file name to clipboardExpand all lines: docs/docs.json
+52-3Lines changed: 52 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -514,7 +514,8 @@
514
514
"expression": {
515
515
"interpolated": true,
516
516
"parameters": [
517
-
"zoom"
517
+
"zoom",
518
+
"measure-light"
518
519
]
519
520
},
520
521
"transition": true,
@@ -3842,7 +3843,7 @@
3842
3843
"type": "number",
3843
3844
"values": [],
3844
3845
"default": 0,
3845
-
"description": "Vertical offset from ground, in meters. Defaults to 0. This is an experimental property with some known issues:\n * Not supported for globe projection at the moment\n * Elevated line discontinuity is possible on tile borders with terrain enabled \n * Rendering artifacts can happen near line joins and line caps depending on the line styling \n * Rendering artifacts relating to `lineOpacity` and `lineBlur` \n * Elevated line visibility is determined by layer order \n * ZFighting issues can happen with intersecting elevated lines \n * Elevated lines don't cast shadows",
3846
+
"description": "Vertical offset from ground, in meters. Not supported for globe projection at the moment.",
3846
3847
"requires": [
3847
3848
"lineElevationReference"
3848
3849
],
@@ -5822,6 +5823,22 @@
5822
5823
"namespace": "layout"
5823
5824
}
5824
5825
},
5826
+
{
5827
+
"name": "modelAllowDensityReduction",
5828
+
"type": "boolean",
5829
+
"values": [],
5830
+
"default": true,
5831
+
"description": "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.",
"doc": "Elevated rendering is enabled. Use this mode to elevate models relative to the sea level."
6194
+
},
6195
+
{
6196
+
"value": "ground",
6197
+
"doc": "Elevated rendering is enabled. Use this mode to elevate models relative to the ground's height below them."
6198
+
},
6199
+
{
6200
+
"value": "hd-road-markup",
6201
+
"doc": "Elevated rendering is enabled. Use this mode to describe additive and stackable features that should exist only on top of road polygons."
6202
+
}
6203
+
],
6204
+
"default": "ground",
6205
+
"description": "Selects the base of the model. Some modes might require precomputed elevation data in the tileset. When using vector tiled source as the model layer source and hdRoadMarkup elevation reference, this property acts as layout property and elevation is evaluated only in tile loading time.",
0 commit comments