LineSymbol3DLayer

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

Referenced by: LineSymbol3D, PolygonSymbol3D

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:
  • butt
  • round
  • square
enable
join Shape of the intersection of two line segments.
Valid values:
  • bevel
  • miter
  • round
marker Represents markers placed at the start and end of each line geometry, or both.
material The material used to shade the geometry.
pattern A pattern used to render a line.
size Line width in points, positive only
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"
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.