Skip to content

Commit b5f46f7

Browse files
lasselammigithub-actions[bot]
authored andcommitted
Promote elevated lines properties to stable: line-z-offset and line-elevation-reference (internal-9756)
GitOrigin-RevId: 9bfbd8e6d1d80e0787c4015b19537e3379cc0bc1
1 parent 9c35ac1 commit b5f46f7

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

src/style-spec/reference/v8.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2701,8 +2701,7 @@
27012701
},
27022702
"line-z-offset": {
27032703
"type": "number",
2704-
"experimental": true,
2705-
"doc": "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 `line-opacity` and `line-blur` \n * Elevated line visibility is determined by layer order \n * Z-fighting issues can happen with intersecting elevated lines \n * Elevated lines don't cast shadows",
2704+
"doc": "Vertical offset from ground, in meters. Not supported for globe projection at the moment.",
27062705
"default": 0,
27072706
"requires": [
27082707
"line-elevation-reference"
@@ -2747,7 +2746,6 @@
27472746
}
27482747
},
27492748
"default": "none",
2750-
"experimental": true,
27512749
"transition": false,
27522750
"sdk-support": {
27532751
"basic functionality": {

src/style-spec/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -700,13 +700,7 @@ export type LineLayerSpecification = {
700700
"line-miter-limit"?: PropertyValueSpecification<number>,
701701
"line-round-limit"?: PropertyValueSpecification<number>,
702702
"line-sort-key"?: DataDrivenPropertyValueSpecification<number>,
703-
/**
704-
* @experimental This property is experimental and subject to change in future versions.
705-
*/
706703
"line-z-offset"?: DataDrivenPropertyValueSpecification<number>,
707-
/**
708-
* @experimental This property is experimental and subject to change in future versions.
709-
*/
710704
"line-elevation-reference"?: "none" | "sea" | "ground" | "hd-road-markup" | ExpressionSpecification,
711705
/**
712706
* @experimental This property is experimental and subject to change in future versions.

0 commit comments

Comments
 (0)