Base type for types that support a common set of Layer functionality. More...
Import Statement | import Esri. |
Since | Esri. |
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 ArcGI | |
A sublayer of an ArcGIS | |
A layer that displays 3 | |
A sublayer of a Layer | |
Displays data from a ArcGI | |
A sublayer of an ArcGIS | |
Displays data from an ArcGI | |
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 EN | |
A layer that can visualize a Feature | |
A layer that can display features from a Feature | |
A Layer that supports image adjustments | |
A base type for layers that display cached maps | |
A layer that can visualize KM | |
Base type for layer types | |
A layer that can display the basemap layer of a map from mobile map package | |
A layer that displays Open | |
A Raster | |
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 UR | |
Defines an Open Geospatial Consortium ( | |
A sublayer of a Layer | |
Defines an Open Geospatial Consortium ( |
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.
legend |
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.
sub |
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.