ServiceImageTiledLayer class final
A super class for all image tiled layers that fetch map tiles from a remote service.
Allows you to have a custom service image tiled layer. For a given LOD, column and row your custom service image tiled layer will be called to generate a request (ServiceImageTiledLayer.onGenerateRequest). Once you set the request information (ServiceImageTiledLayer.setRequest) then the request will be sent over the network for you.
The service image tiled layer class is derived from the image tiled layer class.
- Inheritance
-
- Object
- Layer
- ImageAdjustmentLayer
- ImageTiledLayer
- ServiceImageTiledLayer
- Implementers
Constructors
- ServiceImageTiledLayer.withInfoFullExtent({required TileInfo tileInfo, required Envelope fullExtent})
-
Creates a tile service layer object.
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 pairinherited
-
onGenerateRequest
→ Stream<
TileKey> -
Sets the callback to invoke when the layer needs to request a tile from
the client.
no setter
-
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 setterinherited
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.
inherited
-
setRequest(
{required TileKey tileKey, required Uri uri, required Map< String, String> parameters}) → void - Sends the request for the tile.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited