Skip To Content ArcGIS for Developers Sign In Dashboard

Web Scene Specification

PathSymbol3DLayer

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

Referenced by: LineSymbol3D

Properties

Property Details
anchor The position of the extrusion profile with respect to the polyline geometry.
If property is present, must be one of the following values:
  • bottom
  • center
  • top
cap Shape of the beginning and the end of each line geometry.
If property is present, must be one of the following values:
  • butt
  • none
  • round
  • square
castShadows Boolean to control the shadow casting behaviour of the rendered geometries.
enable Type:Boolean
height Path height in meters. If unspecified, it is equal to width.
join Shape of the intersection of two line segments.
If property is present, must be one of the following values:
  • bevel
  • miter
  • round
material The material used to shade the geometry.
profile The shape which is extruded along the line.
If property is present, must be one of the following values:
  • circle
  • quad
profileRotation Specifies 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.
If property is present, must be one of the following values:
  • all
  • heading
size Path size (diameter) in meters. Ignored if either width or height are present.
type Specifies the type of symbol used.
Value of this property must be Path
width Path width in meters. If unspecified, it is equal to height.

Red tube Example

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

Thin wall Example

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

Strip Example

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

Feedback on this topic?