Class 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 is
     State {State_Name}
     

    Note that quotes are not needed around the literal text.

    Since:
    100.11.0
    • 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​(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:
        IllegalArgumentException - if webmapExpression is null
        Since:
        100.11.0