LineSymbol3DLayer renders Polyline geometries using a flat 2D line with a LineSymbol3D in a 3D SceneView.

Referenced by: LineSymbol3D

Properties

PropertyDetails
capShape 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:
  • butt
  • round
  • square
enable
joinShape of the intersection of two line segments.
Valid values:
  • bevel
  • miter
  • round
markerRepresents markers placed at the start and end of each line geometry, or both.
materialThe material used to shade the geometry.
patternDefines the pattern used to render a 3D line.
sizeNon-negative line width, interpreted in points by default or in meters when the containing LineSymbol3D has worldSized set to true.
typeSpecifies 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"
}
}