Contains classes for working with labels that are displayed for features and graphics in maps.
Class Summary Class Description ArcadeLabelExpressionAn expression script using the Arcade language. LabelAngleSpecifies how to calculate the angular position and layout direction for labels on or around point feature symbols. LabelExpressionAbstract base class for the different types of expressions that can be used to create label text. LabelStackSeparatorA separator character in a label, where a line break may be inserted in long text. SimpleLabelExpressionAn expression script using the Simple REST language. WebmapLabelExpressionThe label Webmap expression expects to hold a legal, Webmap script and to be read and evaluated by a Webmap expression interpreter.
Enum Summary Enum Description LabelAngleRotationTypeHow the placement angle should be interpreted. LabelBarrierWeightThe weight of features when considered as barriers to labeling. LabelDeconflictionStrategyThe strategy for moving labels to avoid overlapping point symbols or higher priority labels. LabelLineConnectionThe strategy for whether line features with the same label, and matching end vertices, should be joined before sharing a label. LabelMultipartStrategyThe strategy for the number of labels to be placed on a multipart feature. LabelOverlapStrategyThe strategy for whether another label is allowed to be placed over this feature or label. LabelOverrunStrategyThe strategy for whether a label should be visible at viewing scales where the feature is too small for the label to fit. LabelRemoveDuplicatesStrategyThe strategy for whether labels should be removed if they have the same text as other labels, to reduce clutter and free up space. LabelRepeatStrategyThe strategy for whether a label should have multiple copies created and placed along or across the same feature. LabelStackAlignmentThe strategy for how multi-row (stacked) text should be horizontally aligned. LabelStackBreakPositionThe strategy for whether a row of text should be broken before or after it exceeds the ideal length. LabelStackSeparatorBreakPositionThe position where the separator character in a label will be written, if used. LabelStackStrategyThe strategy for whether the text should be stacked or wrapped, rather than place long trailing labels across the map. LabelTextLayoutThe layout to use for label text, which can be either horizontal, straight, perpendicular, or follow the line feature. LabelTextOrientationThe orientation of label text.