AnnotationSublayer class final

A sublayer of the annotation layer.

You can change the sublayer's visibility and interrogate its read-only properties, such as the maximum and minimum scale, opacity, and definition expression.

Use the LayerContent.subLayerContents to get a read-only collection of sublayers from the AnnotationLayer. Each AnnotationSublayer object only exists as part of an AnnotationLayer object and is populated when the AnnotationLayer is loaded.

Implemented types

Properties

canChangeVisibility bool
A flag indicating whether the layer content's visibility can be changed.
no setteroverride
definitionExpression String
The where-clause of the sql expression that defines which annotation features from the feature table are selected into this sublayer.
no setter
hashCode int
The hash code for this object.
no setterinherited
isVisible bool
The layer content's visibility.
getter/setter pairoverride
maxScale double
The maximum scale at which to display the Sublayer.
no setter
minScale double
The minimum scale at which to display the Sublayer.
no setter
name String
The layer content's name.
no setteroverride
onSubLayerContentChanged Stream<List<LayerContent>>
Callback invoked when the sublayer content of the layer content have changed.
no setteroverride
opacity double
The opacity of the annotation text associated with this Sublayer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleSymbols bool
True if the annotation text scales with the ArcGISMapViewController.
no setter
showInLegend bool
A flag indicating whether the layer content participates in the legend.
getter/setter pairoverride
subLayerContents List<LayerContent>
The sub layer contents of a layer content.
no setteroverride
sublayerId int
Non-negative integer id number of the AnnotationSublayer within its AnnotationLayer.
no setter

Methods

fetchLegendInfos() Future<List<LegendInfo>>
Fetches the list of legend info.
override
isVisibleAtScale(double scale) bool
Returns the layer content's effective visibility at the specified scale.
override
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