Show / Hide Table of Contents

Class EncLayer

Represents a layer that displays ENC data.

Inheritance
System.Object
Layer
EncLayer
Implements
System.ComponentModel.INotifyPropertyChanged
ILoadable
ILayerContent
Layer.LoadAsync()
Layer.CancelLoad()
Layer.RetryLoadAsync()
Layer.LoadStatus
Layer.LoadError
Layer.Item
Layer.Attribution
Layer.Description
Layer.MaxScale
Layer.MinScale
Layer.SpatialReference
Layer.Opacity
Layer.Id
Layer.FullExtent
Layer.Clone()
Layer.CanChangeVisibility
Layer.IsVisible
Layer.IsIdentifyEnabled
Layer.Name
Layer.ShowInLegend
Layer.SublayerContents
Layer.GetLegendInfosAsync()
Layer.IsVisibleAtScale(Double)
Layer.PropertyChanged
Layer.OnPropertyChanged(String)
Layer.Loaded
Layer.LoadStatusChanged
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.Hydrography.dll
Syntax
public sealed class EncLayer : Layer, INotifyPropertyChanged, ILoadable, ILayerContent
Remarks

Electronic navigational charts (ENC) are geo-referenced vector datasets for the visualization and analysis of hydrographic and maritime information. This API supports ENC that conform to the International Hydrographic Organization (IHO) S-57 standard.

Functional characteristics

ENC layer supports identify and selection but does not support query or time. ENC layers cannot be displayed in a scene.

Performance characteristics

ENC layers differ from other layer types in that ENC content is cached in an internal collection of SENC files. When an ENC layer is displayed, only the content in the SENC files is referenced. SENC files are produced when an ENC cell is read for the first time and updated as update sets are applied. You can set the path to the SENC storage directory with the SencDataPath property. SENC files are in a binary format that is not intended to be shared between platforms or versions of this API.

Sample Code:

  • Add ENC exchange set
  • Change ENC display settings
  • Select ENC features

Constructors

Name Description
EncLayer(EncCell)

Initializes a new instance of the EncLayer class.

Properties

Name Description
Cell

Gets the ENC cell associated with this layer.

EnvironmentSettings

Gets the global instance of the EncEnvironmentSettings.

Methods

Name Description
ClearSelection()

Unselects the previously selected EncFeature (if any).

SelectFeature(EncFeature)

Selects an EncFeature.

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.2.1 - 200.7
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.7

Relevant samples

Add ENC exchange set: Display nautical charts per the ENC specification.
Change ENC display settings: Configure the display of ENC content.
Select ENC features: Select features in an ENC layer.
In This Article
Back to top Copyright © 2022 Esri.