MobileBasemapLayer class final

A layer that can visualize the basemap layer of a map from mobile map package.

A mobile basemap layer can render feature, tiled, vector tiled and raster data together in a group as a single basemap layer. This layer abstracts the complexity of multiple layers into one simple-to-use layer.

You can create a basemap layer using ArcGIS Pro and package it, along with its map, into a mobile map package (.mmpk) for use offline. Each package may contain one or more maps, each of which can contain a basemap with basemap layers.

If a basemap layer contains features, they will be stored in a compressed format that can be displayed quickly along with any associated labels. This compressed format does not support feature selection, query, identify and time.

Inheritance

Properties

attribution String
The attribution text for the layer.
no setterinherited
canChangeVisibility bool
A flag indicating whether the layer content's visibility can be changed.
no setterinherited
description String
The description for the layer.
getter/setter pairinherited
fileUri Uri
The path of mobile basemap layer.
no setter
fullExtent Envelope?
The full extent of this layer, which is the extent where all layer data is contained.
no setterinherited
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
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
sublayerIds List<int>
The sublayer IDs.
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
toString() String
A string representation of this object.
inherited

Operators

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