GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

EditorViewModel Class

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html”>GeoBlazor Docs</a> Provides the logic for the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html”>Editor</a> widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html”>ArcGIS Maps SDK for JavaScript</a>

public class EditorViewModel : dymaptic.GeoBlazor.Core.Components.MapComponent, dymaptic.GeoBlazor.Core.Interfaces.IViewModel

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

Implements dymaptic.GeoBlazor.Core.Interfaces.IViewModel

Constructors

EditorViewModel() Constructor

Parameterless constructor for use as a Razor Component.

public EditorViewModel();

EditorViewModel(AttachmentsViewModel, FeatureTemplatesViewModel, SketchLabelOptions, IReadOnlyList<EditorLayerInfo>, SnappingOptions, SketchTooltipOptions, SketchValueOptions) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public EditorViewModel(dymaptic.GeoBlazor.Pro.Components.AttachmentsViewModel? attachmentsViewModel=null, dymaptic.GeoBlazor.Pro.Components.FeatureTemplatesViewModel? featureTemplatesViewModel=null, dymaptic.GeoBlazor.Pro.Options.SketchLabelOptions? labelOptions=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.EditorLayerInfo>? layerInfos=null, dymaptic.GeoBlazor.Core.Components.SnappingOptions? snappingOptions=null, dymaptic.GeoBlazor.Pro.Options.SketchTooltipOptions? tooltipOptions=null, dymaptic.GeoBlazor.Pro.Options.SketchValueOptions? valueOptions=null);

Parameters

attachmentsViewModel AttachmentsViewModel

The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html”>AttachmentsViewModel</a> for supporting the editor widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#attachmentsViewModel”>ArcGIS Maps SDK for JavaScript</a>

featureTemplatesViewModel FeatureTemplatesViewModel

The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTemplates-FeatureTemplatesViewModel.html”>FeatureTemplatesViewModel</a> for supporting the editor widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#featureTemplatesViewModel”>ArcGIS Maps SDK for JavaScript</a>

labelOptions SketchLabelOptions

Options to configure the labels shown next to each segment of the geometry being created or updated. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#labelOptions”>ArcGIS Maps SDK for JavaScript</a>

layerInfos System.Collections.Generic.IReadOnlyList<EditorLayerInfo>

An array of editing configurations for individual layers. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#layerInfos”>ArcGIS Maps SDK for JavaScript</a>

snappingOptions dymaptic.GeoBlazor.Core.Components.SnappingOptions

The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html”>SnappingOptions</a> for sketching. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#snappingOptions”>ArcGIS Maps SDK for JavaScript</a>

tooltipOptions SketchTooltipOptions

Options to configure the tooltip shown next to the cursor when creating or updating graphics. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#tooltipOptions”>ArcGIS Maps SDK for JavaScript</a>

valueOptions SketchValueOptions

Options to configure how values are displayed and input when creating or updating graphics. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#valueOptions”>ArcGIS Maps SDK for JavaScript</a>

Properties

EditorViewModel.ActiveWorkflow Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelactiveworkflow-property”>GeoBlazor Docs</a> A property indicating the current active workflow. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#activeWorkflow”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelActiveWorkflow? ActiveWorkflow { get; }

Property Value

dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelActiveWorkflow

EditorViewModel.AttachmentsViewModel Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelattachmentsviewmodel-property”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html”>AttachmentsViewModel</a> for supporting the editor widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#attachmentsViewModel”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Components.AttachmentsViewModel? AttachmentsViewModel { get; set; }

Property Value

AttachmentsViewModel

EditorViewModel.CanCreate Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelcancreate-property”>GeoBlazor Docs</a> Convenience property that indicates at least one layer supports a `create-features` workflow. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#canCreate”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<bool> CanCreate { get; }

Property Value

System.Nullable<System.Boolean>

EditorViewModel.CanUpdate Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelcanupdate-property”>GeoBlazor Docs</a> Convenience property that indicates at least one layer supports a `update` workflow. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#canUpdate”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<bool> CanUpdate { get; }

Property Value

System.Nullable<System.Boolean>

EditorViewModel.EditorItems Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodeleditoritems-property”>GeoBlazor Docs</a> A predominantly read-only collection of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-support-EditorItem.html”>editor items</a> that corresponds to the feature being updated. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#editorItems”>ArcGIS Maps SDK for JavaScript</a>

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.EditorItem>? EditorItems { get; }

Property Value

System.Collections.Generic.IReadOnlyList<EditorItem>

EditorViewModel.Failures Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelfailures-property”>GeoBlazor Docs</a> An array of objects containing information specific to any failed editing operations. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#failures”>ArcGIS Maps SDK for JavaScript</a>

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.EditorViewModelFailures>? Failures { get; }

Property Value

System.Collections.Generic.IReadOnlyList<EditorViewModelFailures>

EditorViewModel.FeatureFormViewModel Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelfeatureformviewmodel-property”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm-FeatureFormViewModel.html”>FeatureFormViewModel</a> for supporting the editor widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#featureFormViewModel”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Components.FeatureFormViewModel? FeatureFormViewModel { get; }

Property Value

FeatureFormViewModel

EditorViewModel.FeatureTemplatesViewModel Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelfeaturetemplatesviewmodel-property”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTemplates-FeatureTemplatesViewModel.html”>FeatureTemplatesViewModel</a> for supporting the editor widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#featureTemplatesViewModel”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Components.FeatureTemplatesViewModel? FeatureTemplatesViewModel { get; set; }

Property Value

FeatureTemplatesViewModel

EditorViewModel.HasSketchCreateListener Property

Used in JavaScript layer to determine if the event listener is registered.

public bool HasSketchCreateListener { get; }

Property Value

System.Boolean

EditorViewModel.HasSketchUpdateListener Property

Used in JavaScript layer to determine if the event listener is registered.

public bool HasSketchUpdateListener { get; }

Property Value

System.Boolean

EditorViewModel.LabelOptions Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodellabeloptions-property”>GeoBlazor Docs</a> Options to configure the labels shown next to each segment of the geometry being created or updated. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#labelOptions”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Options.SketchLabelOptions? LabelOptions { get; set; }

Property Value

SketchLabelOptions

EditorViewModel.LayerInfos Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodellayerinfos-property”>GeoBlazor Docs</a> An array of editing configurations for individual layers. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#layerInfos”>ArcGIS Maps SDK for JavaScript</a>

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.EditorLayerInfo>? LayerInfos { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<EditorLayerInfo>

EditorViewModel.OnSketchCreate Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelonsketchcreate-property”>GeoBlazor Docs</a> Fires when a user starts drawing a feature, is actively drawing a feature, and completes drawing a feature.

public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Pro.Events.EditorViewModelSketchCreateEvent> OnSketchCreate { get; set; }

Property Value

Microsoft.AspNetCore.Components.EventCallback<EditorViewModelSketchCreateEvent>

EditorViewModel.OnSketchUpdate Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelonsketchupdate-property”>GeoBlazor Docs</a> Fires when a user starts updating a feature’s geometry, is actively updating a feature’s geometry, and completes updating a feature’s geometry.

public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Pro.Events.EditorViewModelSketchUpdateEvent> OnSketchUpdate { get; set; }

Property Value

Microsoft.AspNetCore.Components.EventCallback<EditorViewModelSketchUpdateEvent>

EditorViewModel.SketchViewModel Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelsketchviewmodel-property”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html”>SketchViewModel</a> for supporting the editor widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#sketchViewModel”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Components.SketchViewModel? SketchViewModel { get; }

Property Value

SketchViewModel

EditorViewModel.SnappingOptions Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelsnappingoptions-property”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html”>SnappingOptions</a> for sketching. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#snappingOptions”>ArcGIS Maps SDK for JavaScript</a>

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

Property Value

dymaptic.GeoBlazor.Core.Components.SnappingOptions

EditorViewModel.State Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelstate-property”>GeoBlazor Docs</a> The widget’s state. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#state”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.EditorViewModelState> State { get; }

Property Value

System.Nullable<EditorViewModelState>

EditorViewModel.Syncing Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelsyncing-property”>GeoBlazor Docs</a> Indicates if there is at least one edit request being processed. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#syncing”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<bool> Syncing { get; }

Property Value

System.Nullable<System.Boolean>

EditorViewModel.TooltipOptions Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodeltooltipoptions-property”>GeoBlazor Docs</a> Options to configure the tooltip shown next to the cursor when creating or updating graphics. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#tooltipOptions”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Options.SketchTooltipOptions? TooltipOptions { get; set; }

Property Value

SketchTooltipOptions

EditorViewModel.ValueOptions Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelvalueoptions-property”>GeoBlazor Docs</a> Options to configure how values are displayed and input when creating or updating graphics. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#valueOptions”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Options.SketchValueOptions? ValueOptions { get; set; }

Property Value

SketchValueOptions

Methods

EditorViewModel.AddToLayerInfos(EditorLayerInfo[]) Method

Asynchronously adds elements to the LayerInfos property.

public System.Threading.Tasks.Task AddToLayerInfos(params dymaptic.GeoBlazor.Pro.Components.EditorLayerInfo[] values);

Parameters

values EditorLayerInfo[]

The elements to add.

Returns

System.Threading.Tasks.Task

EditorViewModel.CancelWorkflow() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelcancelworkflow-method”>GeoBlazor Docs</a> Cancels any active workflow. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#cancelWorkflow”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task CancelWorkflow();

Returns

System.Threading.Tasks.Task

EditorViewModel.DeleteAssociationFromWorkflow() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodeldeleteassociationfromworkflow-method”>GeoBlazor Docs</a> This is applicable if there is an active update workflow with an active child workflow. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#deleteAssociationFromWorkflow”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task DeleteAssociationFromWorkflow();

Returns

System.Threading.Tasks.Task

EditorViewModel.DeleteFeatureFromWorkflow() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodeldeletefeaturefromworkflow-method”>GeoBlazor Docs</a> This is applicable if there is an active update workflow with an active child workflow. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#deleteFeatureFromWorkflow”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task DeleteFeatureFromWorkflow();

Returns

System.Threading.Tasks.Task

EditorViewModel.GetActiveWorkflow() Method

Asynchronously retrieve the current value of the ActiveWorkflow property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelActiveWorkflow?> GetActiveWorkflow();

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelActiveWorkflow>

EditorViewModel.GetAttachmentsViewModel() Method

Asynchronously retrieve the current value of the AttachmentsViewModel property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.AttachmentsViewModel?> GetAttachmentsViewModel();

Returns

System.Threading.Tasks.Task<AttachmentsViewModel>

EditorViewModel.GetCanCreate() Method

Asynchronously retrieve the current value of the CanCreate property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetCanCreate();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

EditorViewModel.GetCanUpdate() Method

Asynchronously retrieve the current value of the CanUpdate property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetCanUpdate();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

EditorViewModel.GetEditorItems() Method

Asynchronously retrieve the current value of the EditorItems property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.EditorItem>?> GetEditorItems();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<EditorItem>>

EditorViewModel.GetFailures() Method

Asynchronously retrieve the current value of the Failures property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.EditorViewModelFailures>?> GetFailures();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<EditorViewModelFailures>>

EditorViewModel.GetFeatureFormViewModel() Method

Asynchronously retrieve the current value of the FeatureFormViewModel property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.FeatureFormViewModel?> GetFeatureFormViewModel();

Returns

System.Threading.Tasks.Task<FeatureFormViewModel>

EditorViewModel.GetFeatureTemplatesViewModel() Method

Asynchronously retrieve the current value of the FeatureTemplatesViewModel property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.FeatureTemplatesViewModel?> GetFeatureTemplatesViewModel();

Returns

System.Threading.Tasks.Task<FeatureTemplatesViewModel>

EditorViewModel.GetLabelOptions() Method

Asynchronously retrieve the current value of the LabelOptions property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Options.SketchLabelOptions?> GetLabelOptions();

Returns

System.Threading.Tasks.Task<SketchLabelOptions>

EditorViewModel.GetLayerInfos() Method

Asynchronously retrieve the current value of the LayerInfos property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.EditorLayerInfo>?> GetLayerInfos();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<EditorLayerInfo>>

EditorViewModel.GetSketchViewModel() Method

Asynchronously retrieve the current value of the SketchViewModel property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.SketchViewModel?> GetSketchViewModel();

Returns

System.Threading.Tasks.Task<SketchViewModel>

EditorViewModel.GetSnappingOptions() Method

Asynchronously retrieve the current value of the SnappingOptions property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SnappingOptions?> GetSnappingOptions();

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SnappingOptions>

EditorViewModel.GetState() Method

Asynchronously retrieve the current value of the State property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Pro.Enums.EditorViewModelState>> GetState();

Returns

System.Threading.Tasks.Task<System.Nullable<EditorViewModelState>>

EditorViewModel.GetSyncing() Method

Asynchronously retrieve the current value of the Syncing property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetSyncing();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

EditorViewModel.GetTemplatesForLayer(Layer) Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelgettemplatesforlayer-method”>GeoBlazor Docs</a> Get all of the editing templates associated with a given layer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#getTemplatesForLayer”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelGetTemplatesForLayer[]?> GetTemplatesForLayer(dymaptic.GeoBlazor.Core.Components.Layers.Layer layer);

Parameters

layer dymaptic.GeoBlazor.Core.Components.Layers.Layer

The layer whose templates should be retrieved.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelGetTemplatesForLayer[]>

EditorViewModel.GetTooltipOptions() Method

Asynchronously retrieve the current value of the TooltipOptions property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Options.SketchTooltipOptions?> GetTooltipOptions();

Returns

System.Threading.Tasks.Task<SketchTooltipOptions>

EditorViewModel.GetValueOptions() Method

Asynchronously retrieve the current value of the ValueOptions property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Options.SketchValueOptions?> GetValueOptions();

Returns

System.Threading.Tasks.Task<SketchValueOptions>

EditorViewModel.OnJsSketchCreate(IJSStreamReference) Method

JavaScript-Invokable Method for internal use only.

public System.Threading.Tasks.Task OnJsSketchCreate(Microsoft.JSInterop.IJSStreamReference jsStreamRef);

Parameters

jsStreamRef Microsoft.JSInterop.IJSStreamReference

Returns

System.Threading.Tasks.Task

EditorViewModel.OnJsSketchUpdate(IJSStreamReference) Method

JavaScript-Invokable Method for internal use only.

public System.Threading.Tasks.Task OnJsSketchUpdate(Microsoft.JSInterop.IJSStreamReference jsStreamRef);

Parameters

jsStreamRef Microsoft.JSInterop.IJSStreamReference

Returns

System.Threading.Tasks.Task

EditorViewModel.RemoveFromLayerInfos(EditorLayerInfo[]) Method

Asynchronously remove an element from the LayerInfos property.

public System.Threading.Tasks.Task RemoveFromLayerInfos(params dymaptic.GeoBlazor.Pro.Components.EditorLayerInfo[] values);

Parameters

values EditorLayerInfo[]

The elements to remove.

Returns

System.Threading.Tasks.Task

EditorViewModel.SetAttachmentsViewModel(AttachmentsViewModel) Method

Asynchronously set the value of the AttachmentsViewModel property after render.

public System.Threading.Tasks.Task SetAttachmentsViewModel(dymaptic.GeoBlazor.Pro.Components.AttachmentsViewModel? value);

Parameters

value AttachmentsViewModel

The value to set.

Returns

System.Threading.Tasks.Task

EditorViewModel.SetFeatureTemplatesViewModel(FeatureTemplatesViewModel) Method

Asynchronously set the value of the FeatureTemplatesViewModel property after render.

public System.Threading.Tasks.Task SetFeatureTemplatesViewModel(dymaptic.GeoBlazor.Pro.Components.FeatureTemplatesViewModel? value);

Parameters

value FeatureTemplatesViewModel

The value to set.

Returns

System.Threading.Tasks.Task

EditorViewModel.SetLabelOptions(SketchLabelOptions) Method

Asynchronously set the value of the LabelOptions property after render.

public System.Threading.Tasks.Task SetLabelOptions(dymaptic.GeoBlazor.Pro.Options.SketchLabelOptions? value);

Parameters

value SketchLabelOptions

The value to set.

Returns

System.Threading.Tasks.Task

EditorViewModel.SetLayerInfos(IReadOnlyList<EditorLayerInfo>) Method

Asynchronously set the value of the LayerInfos property after render.

public System.Threading.Tasks.Task SetLayerInfos(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.EditorLayerInfo>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<EditorLayerInfo>

The value to set.

Returns

System.Threading.Tasks.Task

EditorViewModel.SetSnappingOptions(SnappingOptions) Method

Asynchronously set the value of the SnappingOptions property after render.

public System.Threading.Tasks.Task SetSnappingOptions(dymaptic.GeoBlazor.Core.Components.SnappingOptions? value);

Parameters

value dymaptic.GeoBlazor.Core.Components.SnappingOptions

The value to set.

Returns

System.Threading.Tasks.Task

EditorViewModel.SetTooltipOptions(SketchTooltipOptions) Method

Asynchronously set the value of the TooltipOptions property after render.

public System.Threading.Tasks.Task SetTooltipOptions(dymaptic.GeoBlazor.Pro.Options.SketchTooltipOptions? value);

Parameters

value SketchTooltipOptions

The value to set.

Returns

System.Threading.Tasks.Task

EditorViewModel.SetValueOptions(SketchValueOptions) Method

Asynchronously set the value of the ValueOptions property after render.

public System.Threading.Tasks.Task SetValueOptions(dymaptic.GeoBlazor.Pro.Options.SketchValueOptions? value);

Parameters

value SketchValueOptions

The value to set.

Returns

System.Threading.Tasks.Task

EditorViewModel.StartCreateFeaturesWorkflowAtFeatureCreation(CreateFeaturesCreationInfo) Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelstartcreatefeaturesworkflowatfeaturecreation-method”>GeoBlazor Docs</a> Initiates the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflow.html”>CreateFeaturesWorkflow</a> by displaying the panel where feature creation begins. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startCreateFeaturesWorkflowAtFeatureCreation”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task StartCreateFeaturesWorkflowAtFeatureCreation(dymaptic.GeoBlazor.Pro.Model.CreateFeaturesCreationInfo creationInfo);

Parameters

creationInfo CreateFeaturesCreationInfo

An object containing information needed to create a new feature using the Editor widget. This object provides the feature template and layer for creating a new feature.

Returns

System.Threading.Tasks.Task

EditorViewModel.StartCreateFeaturesWorkflowAtFeatureEdit(Graphic) Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelstartcreatefeaturesworkflowatfeatureedit-method”>GeoBlazor Docs</a> This method starts the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflow.html”>CreateFeaturesWorkflow</a> at the “creating-features” step with the provided feature. param params.initialFeature The initial feature used when you begin creating features. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startCreateFeaturesWorkflowAtFeatureEdit”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task StartCreateFeaturesWorkflowAtFeatureEdit(dymaptic.GeoBlazor.Core.Components.Graphic initialFeature);

Parameters

initialFeature dymaptic.GeoBlazor.Core.Components.Graphic

The initial feature used when you begin creating features. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startCreateFeaturesWorkflowAtFeatureEdit”>ArcGIS Maps SDK for JavaScript</a>

Returns

System.Threading.Tasks.Task

EditorViewModel.StartCreateFeaturesWorkflowAtFeatureTypeSelection() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelstartcreatefeaturesworkflowatfeaturetypeselection-method”>GeoBlazor Docs</a> Initiates the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflow.html”>CreateFeaturesWorkflow</a> by displaying the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTemplates.html”>FeatureTemplates</a> panel. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startCreateFeaturesWorkflowAtFeatureTypeSelection”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task StartCreateFeaturesWorkflowAtFeatureTypeSelection();

Returns

System.Threading.Tasks.Task

EditorViewModel.StartUpdateWorkflowAtFeatureEdit(Graphic) Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelstartupdateworkflowatfeatureedit-method”>GeoBlazor Docs</a> Starts the update workflow at the feature geometry and attribute editing panel. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startUpdateWorkflowAtFeatureEdit”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task StartUpdateWorkflowAtFeatureEdit(dymaptic.GeoBlazor.Core.Components.Graphic feature);

Parameters

feature dymaptic.GeoBlazor.Core.Components.Graphic

The feature to be updated.

Returns

System.Threading.Tasks.Task

EditorViewModel.StartUpdateWorkflowAtFeatureSelection() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelstartupdateworkflowatfeatureselection-method”>GeoBlazor Docs</a> Starts the `update` workflow using the current selected feature. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startUpdateWorkflowAtFeatureSelection”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task StartUpdateWorkflowAtFeatureSelection();

Returns

System.Threading.Tasks.Task

EditorViewModel.StartUpdateWorkflowAtMultipleFeatureSelection(IReadOnlyCollection<Graphic>) Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodelstartupdateworkflowatmultiplefeatureselection-method”>GeoBlazor Docs</a> Starts the Editor workflow where it waits for multiple features to be selected. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startUpdateWorkflowAtMultipleFeatureSelection”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task StartUpdateWorkflowAtMultipleFeatureSelection(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic> candidates);

Parameters

candidates System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic>

The selected feature candidates.

Returns

System.Threading.Tasks.Task

EditorViewModel.ToggleUpdateWorkflow() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.EditorViewModel.html#editorviewmodeltoggleupdateworkflow-method”>GeoBlazor Docs</a> Toggles the `UpdateWorkflow`. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#toggleUpdateWorkflow”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task ToggleUpdateWorkflow();

Returns

System.Threading.Tasks.Task

EditorViewModel.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()