LabelSymbol3D

LabelSymbol3D is used to render labels for features from a FeatureLayer in a 3D SceneView.

Referenced by: labelingInfo

Properties

Property Details
callout Callout configuration for a symbol.
symbolLayers[] A Collection of Symbol3DLayer objects used to visualize the graphic or feature.
Array of items of the following types:
type Specifies the type of symbol used.
Valid value of this property LabelSymbol3D
verticalOffset Shifts the symbol along the vertical world axis by a given length.

Label Symbol 3D Example

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

Label Symbol 3D with verticalOffset and leader line callout Example

{
  "type": "LabelSymbol3D",
  "symbolLayers": [
    {
      "size": 12,
      "type": "Text",
      "material": {
        "color": [
          255,
          255,
          0
        ]
      }
    }
  ],
  "callout": {
    "type": "line",
    "color": [
      255,
      255,
      255
    ],
    "size": 0.75,
    "border": {
      "color": [
        50,
        50,
        50
      ]
    }
  },
  "verticalOffset": {
    "screenLength": 100,
    "maxWorldLength": 600,
    "minWorldLength": 10
  }
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close