LineSymbol3DLayer renders Polyline geometries using a flat 2D line with a LineSymbol3D in a 3D SceneView.
Referenced by: LineSymbol3D
Properties
| Property | Details |
|---|---|
| cap | Shape of the tips at the start and end of each line geometry. This also applies to the tips of each pattern segment along the line. Valid values:
|
| enable | |
| join | Shape of the intersection of two line segments. Valid values:
|
| marker | Represents markers placed at the start and end of each line geometry, or both. |
| material | The material used to shade the geometry. |
| pattern | Defines the pattern used to render a 3D line. |
| size | Non-negative line width, interpreted in points by default or in meters when the containing LineSymbol3D has worldSized set to true. |
| type | Specifies the type of symbol used. Valid value of this property Line |
Line SymbolLayer Example
{ "type": "Line", "material": { "color": [ 255, 0, 0 ] }, "size": 12, "cap": "round", "join": "round", "pattern": { "type": "style", "style": "dash-dot" }}