ArcGISTiledLayer class final

A layer that can visualize data from an ArcGIS map service or a local TileCache by using previously generated tiles.

ArcGIS tiled layers consume image tiles provided by an ArcGIS map service or a local tile package. Raster tiles are cached at various scales when the map service is created. This API requests the tiles needed at a particular map extent. ArcGISTiledLayer will display data from an ArcGIS MapServer if "Single Fused Map Cache" is set to true in its ArcGIS REST Services Directory.

You can use the ExportTileCacheTask class to generate and download tiles from the service, creating a tile package (.tpk/.tpkx) for use locally on the device. Alternatively, you can use ArcGIS Pro to create a map tile package and provision it to the device.

Functional characteristics

ArcGIS tiled layers do not support reprojection, query, select, identify, or editing.

Performance characteristics

Tiled image layers (those that derive functionality from the ImageTiledLayer class) provide fast display of geographic imagery stored in raster files. These rasters typically contain image data acquired from satellite, aircraft, or drones. The resolution of such imagery can be very high, providing a detailed view. With increased resolution comes increased file sizes and potentially slower performance.

Raster tiling is a process that resamples the pixel size at different scales to create images with the appropriate resolution for each scale. The tiling process creates level-of-detail pyramids to efficiently manage how much detail you see as you zoom in and out on the map. Typically, as you zoom closer to the Earth's surface, you want to see greater detail of the geographic information. Tiled image layers allow you to see just the information you need very quickly based on the level-of-detail pyramid at a particular scale, rather than having to load a single large image at once.

Tiles are generated by the server when the service is created. Requests for tiles are made on multiple threads and handled asynchronously. The size of each returned tile increases as the resolution or complexity of the image in the tile increases. For example, high-resolution imagery tiles can be result in larger file sizes than topographic mapping for the same area and map extent.

Inheritance
Implemented types

Constructors

ArcGISTiledLayer.withItem(Item item)
Creates an ArcGIS tiled layer from a PortalItem representing an ArcGIS map service.
factory
ArcGISTiledLayer.withTileCache(TileCache tileCache)
Creates an ArcGIS Tiled Layer object from a local cache of previously rendered map tiles.
factory
ArcGISTiledLayer.withUri(Uri uri)
Creates an ArcGIS tiled layer from the specified URI.
factory

Properties

apiKey String
The API key allows your app to access ArcGIS location services and private portal items.
getter/setter pairoverride
arcGISMapServiceInfo ArcGISMapServiceInfo?
The ArcGIS map service information.
no setter
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 pairinherited
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
refreshInterval int
The objects refresh interval.
getter/setter pair
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
tileCache TileCache?
The local tiled cache.
no setter
tiledSublayers List<LayerContent>
The read-only collection sublayers in an ArcGIS tiled layer.
no setter
tileInfo TileInfo?
The tiling scheme information for this layer.
no setterinherited
uri Uri?
The URL to the endpoint of an ArcGIS map service or the path to a local tile package (.tpk/.tpkx) file.
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
fetchLegendInfosCancelable() CancelableOperation<List<LegendInfo>>
Cancelable version of fetchLegendInfos. See that method for more information.
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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