Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/support
esri/workers
Object: esri/arcadeProfiles/labelingProfile

require(["esri/arcadeProfiles/labelingProfile"], function(labelingProfile) { /* code goes here */ });

Description

(Added at v3.27)
Module that implements the Arcade labeling profile in web apps that label features using Arcade expressions.

Samples

Search for samples that use this class.

Methods

NameReturn typeSummary
initialize(expressions)PromiseInitializes the labeling profile for the given Arcade expressions.
Method Details

initialize(expressions)

Initializes the labeling profile for the given Arcade expressions. If any of the expressions contain geometry operations or FeatureSet functions, then this method will load the proper dependencies required for the expressions to execute.
Return type: Promise
Parameters:
<String[]> expressions Required An array of Arcade expressions intended for use in a label class.
Show Modal