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
The color of the line border. If lineBorderWidth is greater than zero and the alpha value of this color is 0 (default), the color for the border will be selected automatically based on the line color.
998
+
999
+
#### Type
1000
+
`color`
1001
+
#### Default Value
1002
+
`rgba(0, 0, 0, 0)`
1003
+
1004
+
1005
+
#### Expression
1006
+
1007
+
Parameters: `zoom, feature, feature-state`
1008
+
___
1009
+
1010
+
### lineBorderColorTransition
1011
+
Name: `lineBorderColorTransition`
1012
+
1013
+
#### Description
1014
+
1015
+
The transition affecting any changes to this layer’s lineBorderColor property.
Copy file name to clipboardExpand all lines: docs/docs.json
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4379,6 +4379,55 @@
4379
4379
"namespace": "paint"
4380
4380
}
4381
4381
},
4382
+
{
4383
+
"name": "lineBorderWidth",
4384
+
"type": "number",
4385
+
"values": [],
4386
+
"minimum": 0,
4387
+
"default": 0,
4388
+
"description": "The width of the line border. A value of zero means no border.",
4389
+
"requires": [],
4390
+
"disabledBy": [],
4391
+
"allowedFunctionTypes": [],
4392
+
"expression": {
4393
+
"interpolated": true,
4394
+
"parameters": [
4395
+
"zoom",
4396
+
"feature",
4397
+
"feature-state"
4398
+
]
4399
+
},
4400
+
"transition": true,
4401
+
"mbx": {
4402
+
"fullName": "paint-line-line-border-width",
4403
+
"name": "line-border-width",
4404
+
"namespace": "paint"
4405
+
}
4406
+
},
4407
+
{
4408
+
"name": "lineBorderColor",
4409
+
"type": "color",
4410
+
"values": [],
4411
+
"default": "rgba(0, 0, 0, 0)",
4412
+
"description": "The color of the line border. If lineBorderWidth is greater than zero and the alpha value of this color is 0 (default), the color for the border will be selected automatically based on the line color.",
* The line part between [trimStart, trimEnd] will be painted using `lineTrimColor,` which is transparent by default to produce a route vanishing effect. The line trimOff offset is based on the whole line range [0.0, 1.0].
730
730
*/
731
731
lineTrimOffset?: number[];
732
+
/**
733
+
* The width of the line border. A value of zero means no border.
* The transition affecting any changes to this layer’s lineBorderWidth property.
739
+
*/
740
+
lineBorderWidthTransition?: Transition;
741
+
/**
742
+
* The color of the line border. If lineBorderWidth is greater than zero and the alpha value of this color is 0 (default), the color for the border will be selected automatically based on the line color.
0 commit comments