Skip To Content ArcGIS for Developers Sign In Dashboard

ArcGISMapImageSublayer QML Type

A sublayer of an ArcGISMapImageLayer. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

ArcGISSublayer

Properties

Signals

Detailed Description

An ArcGISMapImageLayer is created from a dynamic map service that contains one or more sublayers. Sublayers can be accessed from the ArcGISMapImageLayer as ArcGISMapImageSublayers.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
Rendererrenderer (since Esri.ArcGISRuntime 100.1)
SublayerSourcesource (since Esri.ArcGISRuntime 100.1)
LabelDefinitionlabelDefinitions (since Esri.ArcGISRuntime 100.1) (appends to model)

See also Cancelable and LayerContent.

Property Documentation

defaultVisibility : bool

Returns whether the sublayer is visible by default (read-only).

This QML property was introduced in Esri.ArcGISRuntime 100.1.


definitionExpression : string

The sublayer's definition expression.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


[default] labelDefinitions : LabelDefinitionListModel

Returns the list model of label definitions applied to the layer (read-only).


labelsEnabled : bool

Whether the sublayer's labels are displayed.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


maxScale : double

The maximum scale at which the sublayer displays.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


minScale : double

The minimum scale at which the sublayer displays.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


name : string

The name of the sublayer.


opacity : real

The sublayer's opacity.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


[default] renderer : Renderer

The renderer specifying how the features should be symbolized.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


scaleSymbols : bool

Whether the sublayer renders its symbols based on scale.

A value of false means the symbols stay the same size in screen units regardless of the map scale.

The default value is false.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


[default] source : SublayerSource

The sublayer source.

This property can be set only when instantiating this type.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


sublayerId : string

The sublayer ID.

This is the ID (or index number) of map layer that is listed in the ArcGIS REST Services Directory documentation for the service.

The sublayerId can only be set during instantiation of an ArcGISMapImageSublayer. Once set, the ArcGISMapImageSublayer can be given to an ArcGISMapImageLayer before the layer is loaded. This will result in the ArcGISMapImageLayer containing and rendering just the specified sublayers after loaded.

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

Note: sublayerId and sublayerIdAsInt can be used interchangeably. Both reference the same underlying Runtime property.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


sublayerIdAsInt : int

The same as sublayerId but represented as an integer type.

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

Note: sublayerIdAsInt and sublayerId can be used interchangeably. Both reference the same underlying Runtime property.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


The sublayer's feature table.

This only applies to sublayers of type "Feature layer" or "Table". This method returns null if the sublayer has not been loaded.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


Signal Documentation

labelDefinitionsChanged()

Emitted when the labelDefinitions property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.1.


sourceChanged()

Emitted when the source property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.1.


tableChanged()

Emitted when the table property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.



Feedback on this topic?