dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

FeatureEdits Class

Object containing features and attachments to be added, updated or deleted.
For use with ApplyEdits(FeatureEdits, FeatureEditOptions)ArcGIS JS API

public class FeatureEdits

Inheritance System.Object 🡒 FeatureEdits

Properties

FeatureEdits.AddAttachments Property

An array of attachments to be added. Applies only when the options.globalIdUsed parameter is set to true. User must provide globalIds for all attachments to be added.

public System.Collections.Generic.IEnumerable<dymaptic.GeoBlazor.Core.Components.Layers.AttachmentEdit>? AddAttachments { get; set; }

Property Value

System.Collections.Generic.IEnumerable<AttachmentEdit>

FeatureEdits.AddFeatures Property

An array or a collection of features to be added. Values of non nullable fields must be provided when adding new features. Date fields must have numeric values representing universal time.

public System.Collections.Generic.IEnumerable<dymaptic.GeoBlazor.Core.Components.Layers.Graphic>? AddFeatures { get; set; }

Property Value

System.Collections.Generic.IEnumerable<Graphic>

FeatureEdits.DeleteAttachments Property

An array of globalIds for attachments to be deleted. Applies only when the options.globalIdUsed parameter is set to true.

public System.Collections.Generic.IEnumerable<string>? DeleteAttachments { get; set; }

Property Value

System.Collections.Generic.IEnumerable<System.String>

FeatureEdits.DeleteFeatures Property

An array or a collection of features, or an array of objects with objectId or globalId of each feature to be deleted. When an array or collection of features is passed, each feature must have a valid objectId. When an array of objects is used, each object must have a valid value set for objectId or globalId property.

public System.Collections.Generic.IEnumerable<dymaptic.GeoBlazor.Core.Components.Layers.Graphic>? DeleteFeatures { get; set; }

Property Value

System.Collections.Generic.IEnumerable<Graphic>

FeatureEdits.UpdateAttachments Property

An array of attachments to be updated. Applies only when the options.globalIdUsed parameter is set to true. User must provide globalIds for all attachments to be updated.

public System.Collections.Generic.IEnumerable<dymaptic.GeoBlazor.Core.Components.Layers.AttachmentEdit>? UpdateAttachments { get; set; }

Property Value

System.Collections.Generic.IEnumerable<AttachmentEdit>

FeatureEdits.UpdateFeatures Property

An array or a collection of features to be updated. Each feature must have valid objectId. Values of non nullable fields must be provided when updating features. Date fields must have numeric values representing universal time.

public System.Collections.Generic.IEnumerable<dymaptic.GeoBlazor.Core.Components.Layers.Graphic>? UpdateFeatures { get; set; }

Property Value

System.Collections.Generic.IEnumerable<Graphic>