LabelingInfo class final

An object that defines the text, appearance and position of labels for features for a given scale range.

A LabelingInfo describes a class of labels.

Each LabelingInfo specifies:

LabelingInfo describes a very limited subset of the LabelDefinition properties.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
labelExpression String
Simple expression describing how to build the text label for a feature, often using attributes of the feature.
no setter
labelPlacement LabelingPlacement
The preferred position of the text label, with respect to its feature geometry.
no setter
maxScale double
Labels will only be visible when the viewing scale is smaller than (or equal to) the maxScale.
no setter
minScale double
Labels will only be visible when the viewing scale is larger than (or equal to) the minScale.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol TextSymbol?
The text symbol which describes the overall appearance of label text (e.g. font and size).
no setter
useCodedValues bool
Whether the data source should translate domain identifiers into meanings using a CodedValueDomain.
no setter
where String
Limit the set of features for which labels will be generated and placed.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited