ArcGIS Runtime SDK for iOS: AGSWebmapLabelExpression Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSWebmapLabelExpression Class Reference

Description

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
Inheritance diagram for AGSWebmapLabelExpression:
AGSLabelExpression AGSObject

Instance Methods

(instancetype) - init
 
(instancetype) - initWithWebmapExpression:
 

Class Methods

(instancetype) + webmapLabelExpression
 
(instancetype) + webmapLabelExpressionWithWebmapExpression:
 

Properties

NSString * expression
 

Method Documentation

◆ init

- (instancetype) init

Create 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

◆ initWithWebmapExpression:

- (instancetype) initWithWebmapExpression: (NSString *)  webmapExpression

Create a label Webmap expression with a specific Webmap script. The expression is expected to be a complete, self-contained Webmap expression.

Parameters
webmapExpressionThe Webmap expression script string.
Since
100.11

◆ webmapLabelExpression

+ (instancetype) webmapLabelExpression

Create 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

◆ webmapLabelExpressionWithWebmapExpression:

+ (instancetype) webmapLabelExpressionWithWebmapExpression: (NSString *)  webmapExpression

Create a label Webmap expression with a specific Webmap script. The expression is expected to be a complete, self-contained Webmap expression.

Parameters
webmapExpressionThe Webmap expression script string.
Since
100.11

Property Documentation

◆ expression

- (NSString*) expression
readwritenonatomiccopyinherited

The label expression script string. The expression is expected to be a complete, self-contained label expression in the language specified by the label expression subclass object.

Since
100.11