OptionallabelThis read-only web map property allows formatting of labels. Use labelExpressionInfo instead.
OptionallabelThis object allows label text to be read similar to that of the popupInfo's description property. See https://developers.arcgis.com/web-map-specification/objects/labelExpressionInfo/ https://developers.arcgis.com/web-scene-specification/objects/labelExpressionInfo/.
Optionalexpression?: stringAn Arcade expression evaluating to either a string or a number.
Optionaltitle?: stringThe title of the expression.
Optionalvalue?: stringRepresents a simple template string. This property is deprecated as of version 2.7 of the web map in favor of 'expression'.
OptionallabelThis string property specifies the label placement with respect to that of its feature. A list of label placement values categorized by feature geometry types.
OptionalmaxRepresents the maximum scale at which the layer definition will be applied.
OptionalminRepresents the minimum scale at which the layer definition will be applied.
OptionalnameThe name of the label class.
OptionalrepeatA boolean value indicating whether or not to repeat the label along or across the feature. If true, the label will be repeated according to the repeatLabelDistance. If missing, the default depends on the geometry of the feature: false for point and polygon feature geometries, and true for line feature geometries.
OptionalrepeatThe repeat label distance used when repeatLabel is true. It represents a screen distance in points.
OptionalsymbolThe text symbol used to label.
OptionaluseBoolean value indicating whether to display the coded values for the specified field name(s).
OptionalwhereString template used to determine which features to label.
The labelingInfo object specifies the label definition for a layer.
See https://developers.arcgis.com/web-map-specification/objects/labelingInfo/ https://developers.arcgis.com/web-scene-specification/objects/labelingInfo/.