LabelBarrierWeight

sealed class LabelBarrierWeight

The weight of features when considered as barriers to labeling. An com.arcgismaps.mapping.layers.AnnotationLayer or a com.arcgismaps.mapping.layers.DimensionLayer, which has no LabelDefinition of its own, can be added to a map's operational layers. Their features will be automatically considered by the labeling process, to block labels being placed overlapping the features. This LabelBarrierWeight property controls how much labels must avoid the layer's features.

Note: Other layer types, which have their own LabelDefinition, can also have their features treated as barriers, but this is controlled by their LabelDefinition.featureBoundaryOverlapStrategy and LabelDefinition.featureInteriorOverlapStrategy properties.

Since

200.1.0

Inheritors

Types

Link copied to clipboard

The feature is an exclusion zone for labels. Labels that overlap the feature will not be placed unless the label is using a deconfliction strategy of LabelDeconflictionStrategy.None or LabelDeconflictionStrategy.DynamicNeverRemove.

Link copied to clipboard

The feature will be avoided by labels unless that's the only way they can be placed. Labels will still overlap this feature if that is the only way they can be placed.

Link copied to clipboard

The feature will be avoided by labels unless that's the only way they can be placed after trying some additional positions. Labels will still overlap this feature if that is the only way they can be placed. This is similar to LabelBarrierWeight.Low, but the labeling process can try additional intermediate alternative positions. Not all styles of labeling will have additional positions to try.

Link copied to clipboard

The feature will not act as a barrier to labels.