ImageTiledLayer class final

A base class for layers that display cached maps. You would typically work with one or more sub-classes of this class.

ImageTiledLayer defines a base class for layers that display tiled map services and cached image services. This is an abstract class that can be derived in a custom class to implement a local tile data scheme. To implement a custom ImageTiledLayer, for example to load your own local tile data, you should derive from this type and supply the data for each tile as it is requested. Additionally, you must supply TileInfo that describes the tiling scheme, and an Envelope that defines the layer extent.

Implement this class if you want to create a custom tiled layer where the cached images cannot be referenced by a simple URI. If your images can be referenced by a simple URI, you should instead implement ServiceImageTiledLayer.

Inheritance
Implementers

Constructors

ImageTiledLayer({required TileInfo tileInfo, required Envelope fullExtent})
Creates an image tiled layer from the given tile metadata and the full extent.
factory

Properties

attribution String
The attribution text for the layer.
no setterinherited
brightness double
The brightness of the layer.
getter/setter pairinherited
canChangeVisibility bool
A flag indicating whether the layer content's visibility can be changed.
no setterinherited
contrast double
The contrast of the layer.
getter/setter pairinherited
description String
The description for the layer.
getter/setter pairinherited
fullExtent Envelope?
The full extent of this layer, which is the extent where all layer data is contained.
no setterinherited
gamma double
The gamma of the layer.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifying string for the layer, as specified in a map or scene.
getter/setter pairinherited
isIdentifyEnabled bool
True if the layer supports identify, false otherwise.
no setterinherited
isVisible bool
The layer content's visibility.
getter/setter pairinherited
item Item?
The item the layer has been created from.
no setterinherited
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
maxScale double
The maximum scale for the layer.
getter/setter pairinherited
minScale double
The minimum scale for the layer.
getter/setter pairinherited
name String
The layer content's name.
getter/setter pairinherited
noDataTileBehavior NoDataTileBehavior
Controls how a tile request that returns 'NoData' is resampled.
getter/setter pair
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 setterinherited
onVisibilityChanged Stream<bool>
Callback invoked when the visibility of the layer changes.
no setterinherited
opacity double
The opacity for the layer.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showInLegend bool
A flag indicating whether the layer content participates in the legend.
getter/setter pairinherited
spatialReference SpatialReference?
The spatial reference of the layer.
no setterinherited
subLayerContents List<LayerContent>
The sub layer contents of a layer content.
no setterinherited
tileInfo TileInfo?
The tiling scheme information for this layer.
no setter

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
clone() Layer
Clones this instance of the layer and its members.
inherited
fetchLegendInfos() Future<List<LegendInfo>>
Fetches the list of legend info.
inherited
isVisibleAtScale(double scale) bool
Returns the layer content's effective visibility at the specified scale.
inherited
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
setAttribution(String attribution) → void
Sets the attribution string for the image tiled layer.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

defaultTileInfo TileInfo
final