GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

EditorLayerInfo Class

Configurations used for setting the layer’s editable preferences within the Editor.
ArcGIS JS API

public class EditorLayerInfo : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 EditorLayerInfo

Properties

EditorLayerInfo.AddEnabled Property

Indicates whether to enable the ability to create new features. Default Value: true.

public System.Nullable<bool> AddEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.AttachmentsOnCreateEnabled Property

Indicates whether to enable or disable attachments while creating features. Support for this is dependent upon the Editor’s allowedWorkflows and whether this operation is supported on the FeatureLayer.capabilities.operations.

public System.Nullable<bool> AttachmentsOnCreateEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.AttachmentsOnUpdateEnabled Property

Indicates whether to enable or disable attachments while updating existing features. Support for this is dependent upon the Editor’s allowedWorkflows and whether update or delete operations are supported on the FeatureLayer.capabilities.operations.

public System.Nullable<bool> AttachmentsOnUpdateEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

Remarks

The Editor will not display attachment file names if it is displaying image types. These images must have resize support within its corresponding FeatureLayer, ie. FeatureLayer.capabilities.attachment.supportsResize is true. Attachment types, other than images, will display an icon and its corresponding file name.

EditorLayerInfo.AttributeUpdatesEnabled Property

Indicates whether to enable or disable attribute updates from the feature’s form. Default Value: true.

public System.Nullable<bool> AttributeUpdatesEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.DeleteEnabled Property

Indicates whether to enable the ability to delete features. Default Value: true.

public System.Nullable<bool> DeleteEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.Enabled Property

Indicates whether to enable editing on the layer. Default Value: true.

public System.Nullable<bool> Enabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.FormTemplate Property

A template that defines the feature’s form content. Use this when setting the fields for editing.

public dymaptic.GeoBlazor.Core.Components.Widgets.FormTemplate? FormTemplate { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Widgets.FormTemplate

EditorLayerInfo.GeometryUpdatesEnabled Property

The Editor will not display attachment file names if it is displaying image types. These images must have resize support within its corresponding FeatureLayer, ie. FeatureLayer.capabilities.attachment.supportsResize is true. Attachment types, other than images, will display an icon and its corresponding file name. Default Value: true.

public System.Nullable<bool> GeometryUpdatesEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.LayerId Property

The id for the associated layer containing the fields to edit.

public System.Guid LayerId { get; set; }

Property Value

System.Guid

EditorLayerInfo.UpdateEnabled Property

Indicates whether to enable the ability to update existing features. Default Value: true.

public System.Nullable<bool> UpdateEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

Methods

EditorLayerInfo.RegisterChildComponent(MapComponent) Method

Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with it’s parent.

public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child dymaptic.GeoBlazor.Core.Components.MapComponent

The calling, child component to register

Returns

System.Threading.Tasks.Task

Exceptions

dymaptic.GeoBlazor.Core.Exceptions.InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.

EditorLayerInfo.UnregisterChildComponent(MapComponent) Method

Undoes the “Registration” of a child with its parent.

public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child dymaptic.GeoBlazor.Core.Components.MapComponent

The child to unregister

Returns

System.Threading.Tasks.Task

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.