Class WebmapLabelExpression
- java.lang.Object
-
- com.esri.arcgisruntime.mapping.labeling.LabelExpression
-
- com.esri.arcgisruntime.mapping.labeling.WebmapLabelExpression
-
public final class WebmapLabelExpression extends LabelExpression
The label Webmap expression expects to hold a legal, Webmap script and to be read and evaluated by a Webmap expression interpreter. An example expression that combines text with a field value isState {State_Name}
Note that quotes are not needed around the literal text.
- Since:
- 100.11.0
-
-
Constructor Summary
Constructors Constructor Description WebmapLabelExpression()
Creates a label Webmap expression with an empty expression script.WebmapLabelExpression(java.lang.String webmapExpression)
Creates a label Webmap expression with a specific Webmap script.
-
Method Summary
-
Methods inherited from class com.esri.arcgisruntime.mapping.labeling.LabelExpression
getExpression, setExpression
-
-
-
-
Constructor Detail
-
WebmapLabelExpression
public WebmapLabelExpression()
Creates a label Webmap expression with an empty expression script.An empty script is a legal Webmap expression that will evaluate to an empty string.
- Since:
- 100.11.0
-
WebmapLabelExpression
public WebmapLabelExpression(java.lang.String webmapExpression)
Creates a label Webmap expression with a specific Webmap script.The expression is expected to be a complete, self-contained Webmap expression.
- Parameters:
webmapExpression
- the Webmap expression script string- Throws:
java.lang.IllegalArgumentException
- if webmapExpression is null- Since:
- 100.11.0
-
-