TextSymbol3DLayer

Symbol layer for text and font definitions.

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?