PathSymbol3DLayer renders polyline geometries by extruding a 2D profile along the line, resulting in visualizations like tubes, walls, etc.

Referenced by: LineSymbol3D

Properties

PropertyDetails
anchorThe position of the extrusion profile with respect to the polyline geometry.
Valid values:
  • bottom
  • center
  • top
capShape of the tips at the start and end of each path geometry.
Valid values:
  • butt
  • none
  • round
  • square
castShadowsBoolean to control the shadow casting behaviour of the rendered geometries.
enable
heightPath height in meters. If unspecified, it is equal to width.
joinShape of the intersection of two line segments.
Valid values:
  • bevel
  • miter
  • round
materialThe material used to shade the geometry.
profileThe shape which is extruded along the line.
Valid values:
  • circle
  • quad
profileRotationSpecifies the axes about which the profile may be rotated at the joins. Constraining the rotation axes leads to a fixed orientation of the profile for the specified directions.
Valid values:
  • all
  • heading
sizePath size (diameter) in meters. Ignored if either width or height are present.
typeSpecifies the type of symbol used.
Valid value of this property Path
widthPath width in meters. If unspecified, it is equal to height.

Red tube Example

{
"type": "Path",
"material": {
"color": [
255,
0,
0
]
},
"size": 12
}

Thin wall Example

{
"type": "Path",
"profile": "quad",
"width": 0,
"height": 50,
"anchor": "bottom",
"profileRotation": "heading"
}

Strip Example

{
"type": "Path",
"profile": "quad",
"width": 10,
"height": 1,
"anchor": "center",
"profileRotation": "heading"
}