Base type for types that support a common set of Layer functionality. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: | |
Inherited By: |
Properties
- autoFetchLegendInfos : bool
- canChangeVisibility : bool
- legendInfos : LegendInfoListModel
- name : string
- showInLegend : bool
- subLayerContents : list<LayerContent>
- visible : bool
Signals
- autoFetchLegendInfosChanged()
- nameChanged()
- showInLegendChanged()
- subLayerContentsChanged()
- visibleChanged()
Methods
- bool cancelTask(string taskId)
Detailed Description
Note: You cannot declare or create a component of this type in QML code.
Types that implement LayerContent
Allows you to interrogate the properties of a sublayer within an annotation layer and to change the visibility of the sublayer | |
A layer based on a dynamic ArcGIS Map service | |
A sublayer of an ArcGISMapImageLayer | |
A layer that displays 3D features from a scene service | |
A sublayer of a Layer | |
Displays data from a ArcGIS Map service, by using pre-generated tiles | |
A sublayer of an ArcGISTiledLayer | |
Displays data from an ArcGIS vector tiled data source | |
A Bing Maps layer displays map content from a Bing Maps web service, providing access to static map tiles and imagery metadata | |
A layer that displays ENC data | |
A layer that can visualize a FeatureCollection | |
A layer that can display features from a FeatureTable on a map | |
A Layer that supports image adjustments | |
A base type for layers that display cached maps | |
A layer that can visualize KML data | |
Base type for layer types | |
A layer that can display the basemap layer of a map from mobile map package | |
A layer that displays OpenStreetMap map tiles | |
A RasterLayer is used to render data from a Raster onto a Map | |
A base class for all image tiled layers that fetches map tiles from a remote service | |
A sublayer that allows custom rendering for features of a particular subtype | |
An instance of this class represents a layer whose type could not be determined | |
An instance of this class represents a layer whose type could not be determined | |
A layer that requests images from a tiled image server based on a URL template | |
Defines an Open Geospatial Consortium (OGC) Web Map Service (WMS) layer | |
A sublayer of a Layer | |
Defines an Open Geospatial Consortium (OGC) Web Map Tile Service (WMTS) layer |
See also Cancelable.
Property Documentation
Whether legend infos are automatically fetched by the layer's legend info list model.
Set to true
(default is false
) to have legend infos fetched automatically when the LegendInfoListModel is instantiated.
legendInfos : LegendInfoListModel |
Returns a list model containing legend infos for the layer and any sublayers (read-only).
Note: Layers that use a DictionaryRenderer will not have any legend infos.
Returns the name of the layer (read-only).
The name is defined by the service when the layer initializes, so this property is typically used after the service layer initializes.
subLayerContents : list<LayerContent> |
The content of sublayers represented as a list of LayerContent.
The visibility of the layer.
Before setting this to true
, check the canChangeVisibility property to determine if the visibility can be changed.
See also LayerContent::canChangeVisibility.
Signal Documentation
Emitted when the autoFetchLegendInfos property changes.
Note: The corresponding handler is onAutoFetchLegendInfosChanged
.
Emitted when the name property changes.
Note: The corresponding handler is onNameChanged
.
Emitted when the showInLegend property changes.
Note: The corresponding handler is onShowInLegendChanged
.
Emitted when the subLayerContents property changes.
Note: The corresponding handler is onSubLayerContentsChanged
.
Emitted when the visible property changes.
Note: The corresponding handler is onVisibleChanged
.
Method Documentation
Cancel the task with the ID taskId.
Returns false
if the task cannot be canceled or there is no task with the specified id taskId.
See also Cancelable.