Skip To Content ArcGIS for Developers Sign In Dashboard

Web Scene Specification

TextSymbol3DLayer

Symbol layer for text and font definitions.

Referenced by: LabelSymbol3D, PolygonSymbol3D

Properties

Property Details
enable Type:Boolean
font Font used for text symbols.
halo Halo definition.
material The material used to shade the geometry.
size Font size in points, positive only
text Text content in the label. Typically this property is not set, as text content is read from labeling field.
type Specifies the type of symbol used.
Value of this property must be Text

Example

{
  "symbol": {
    "type": "LabelSymbol3D",
    "symbolLayers": [
      {
        "size": 12,
        "type": "Text",
        "material": {
          "color": [
            255,
            255,
            0
          ]
        },
        "font": {
          "family": "Arial",
          "weight": "bold"
        }
      }
    ]
  }
}

Feedback on this topic?