Show / Hide Table of Contents

Class ArcGISMapImageSublayer

A sublayer of an ArcGIS map image layer.

Inheritance
System.Object
ArcGISSublayer
ArcGISMapImageSublayer
Implements
System.ComponentModel.INotifyPropertyChanged
ILayerContent
IPopupSource
ILoadable
ArcGISSublayer.Id
ArcGISSublayer.Sublayers
ArcGISSublayer.MapServiceSublayerInfo
ArcGISSublayer.IsPopupEnabled
ArcGISSublayer.PopupDefinition
ArcGISSublayer.CanChangeVisibility
ArcGISSublayer.IsVisible
ArcGISSublayer.ShowInLegend
ArcGISSublayer.SublayerContents
ArcGISSublayer.GetLegendInfosAsync()
ArcGISSublayer.IsVisibleAtScale(Double)
ArcGISSublayer.Clone()
ArcGISSublayer.INotifyPropertyChanged.PropertyChanged
ArcGISSublayer.LoadStatus
ArcGISSublayer.LoadError
ArcGISSublayer.Loaded
ArcGISSublayer.LoadStatusChanged
ArcGISSublayer.OnSublayerLoaded()
ArcGISSublayer.CancelLoad()
ArcGISSublayer.LoadAsync()
ArcGISSublayer.RetryLoadAsync()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISMapImageSublayer : ArcGISSublayer, INotifyPropertyChanged, ILayerContent, IPopupSource, ILoadable
Remarks

ArcGISMapImageSublayer provides access to layers that comprise an ArcGISMapImageLayer. Once the ArcGISMapImageLayer has loaded, you can obtain its sublayers from the Sublayers collection. You can obtain the ArcGIS map service information for each of these sublayers from the MapServiceSublayerInfo.

If one of the sublayers is a group layer (where the SublayerType is GroupLayer), it will also have a collection of sublayers. Use SublayerInfos to obtain the collection of sublayers. If one of these sublayers is a group layer it will also contain a collection of sublayers, and so on.

If you know the sublayer Id, you can create a it from the ArcGISMapImageSublayer(Int64) constructor.

Once you have obtained the sublayer, you can change the data that is displayed by the ArcGISMapImageLayer by setting the sublayer's visibility, layer definition expression, and other visual properties such as renderer and scale.

Constructors

Name Description
ArcGISMapImageSublayer(Int64)

Initializes a new instance of the ArcGISMapImageSublayer class with the specified sublayer id.

ArcGISMapImageSublayer(Int64, SublayerSource)

Initializes a new instance of the ArcGISMapImageSublayer class with the specified sublayer id and source.

Properties

Name Description
DefaultVisibility

Gets a value indicating whether gets this sublayer's default visibility.

DefinitionExpression

Gets or sets the definition expression of this map image sublayer.

LabelDefinitions

Gets a modifiable collection of label definitions for this sublayer. Only available if the ArcGISMapImageLayer supports dynamic capabilities.

LabelsEnabled

Gets or sets a value indicating whether labels should be displayed on this sublayer.

MaxScale

Gets or sets the maximum scale at which this sublayer is visible.

MinScale

Gets or sets the minimum scale at which this sublayer is visible.

Name

Gets or sets the name of the sublayer.

Opacity

Gets or sets the opacity of this sublayer.

Renderer

Gets or sets this sublayer's Renderer.

ScaleSymbols

Gets or sets a value indicating whether this sublayer renders its symbols based on scale.

Source

Gets the SublayerSource of this sublayer.

Table

Gets the sublayer's feature table.

See Also

ArcGISSublayer
Sublayers
Sublayers
ArcGISMapImageSublayer(Int64)

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Change sublayer renderer: Apply a renderer to a sublayer.
In This Article
Back to top Copyright © 2022 Esri.