ArcGISSublayer class final

A base class for ArcGIS sublayer classes such as ArcGISMapImageSublayer, ArcGISTiledSublayer and SubtypeSublayer.

Some layers, such as ArcGISMapImageLayer, ArcGISTiledLayer, and SubtypeFeatureLayer, represent a collection of layers that are referred to as sublayers. For example, ArcGISMapImageLayer represents the collection of ArcGISMapImageLayer.mapImageSublayers.

If one of the sublayers is a group layer (where the ArcGISMapServiceSublayerInfo.sublayerType is ArcGISMapServiceSublayerType.groupLayer, for example), it will also have a collection of sublayers. Use ArcGISSublayer.sublayers to obtain the collection of sublayers. If one of these sublayers is a group layer it will also contain a collection of sublayers, and so on.

Note: Some of the sublayer properties can only be accessed once the sublayer has loaded.

Implemented types
Mixed in types
Implementers

Properties

canChangeVisibility bool
A flag indicating whether the layer content's visibility can be changed.
no setteroverride
definitionExpression String
A SQL statement where clause that stipulates a subset of features to be displayed.
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
The id that uniquely identifies this sublayer.
no setter
isVisible bool
The layer content's visibility.
getter/setter pairoverride
labelsEnabled bool
True if the sublayer's labels are enabled, false otherwise.
no setter
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
mapServiceSublayerInfo ArcGISMapServiceSublayerInfo?
The sublayer's metadata.
no setter
maxScale double
The sublayer's maximum scale.
no setter
minScale double
The sublayer's minimum scale.
no setter
name String
The layer content's name.
no setteroverride
onLoadStatusChanged Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
onSubLayerContentChanged Stream<List<LayerContent>>
Callback invoked when the sublayer content of the layer content have changed.
no setteroverride
opacity double
The sublayer's opacity.
no setter
renderer Renderer?
The sublayer's renderer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleSymbols bool
True if the sublayer renderers its symbols based on scale, false otherwise.
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
sublayers List<ArcGISSublayer>
The collection of sublayers of a sublayer.
no setter

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
clone() ArcGISSublayer
Clones the ArcGISSublayer.
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
load() Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retryLoad() Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() String
A string representation of this object.
inherited

Operators

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