dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

FeaturesViewModel Class

Provides the logic for the Features widget.
ArcGIS Maps SDK for JavaScript

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

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 FeaturesViewModel

Derived
PopupViewModel

Implements IViewModel, IGoTo

Constructors

FeaturesViewModel() Constructor

Parameterless constructor for use as a Razor Component.

public FeaturesViewModel();

FeaturesViewModel(IReadOnlyList, Graphic, Nullable, Nullable, Nullable, Nullable, Nullable, string, Nullable, IReadOnlyList, Nullable, Abilities, GoToOverride, Nullable, Nullable, Nullable, Point, FeaturesViewModelScreenPoint, Nullable, Nullable, SpatialReference, string, string, string, Nullable, Nullable, Widget) Constructor

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

public FeaturesViewModel(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>? actions=null, dymaptic.GeoBlazor.Core.Components.Graphic? activeFeature=null, System.Nullable<bool> autoCloseEnabled=null, System.Nullable<bool> browseClusterEnabled=null, System.Nullable<bool> defaultPopupTemplateEnabled=null, System.Nullable<Microsoft.AspNetCore.Components.ElementReference> elementReferenceContent=null, System.Nullable<bool> featureMenuOpen=null, string? featureMenuTitle=null, System.Nullable<double> featurePage=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Graphic>? features=null, System.Nullable<double> featuresPerPage=null, dymaptic.GeoBlazor.Core.Components.Abilities? featureViewModelAbilities=null, dymaptic.GeoBlazor.Core.Functions.GoToOverride? goToOverride=null, System.Nullable<bool> highlightEnabled=null, System.Nullable<bool> includeDefaultActions=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.InitialDisplayMode> initialDisplayMode=null, dymaptic.GeoBlazor.Core.Components.Geometries.Point? location=null, dymaptic.GeoBlazor.Core.Components.FeaturesViewModelScreenPoint? screenLocation=null, System.Nullable<bool> screenLocationEnabled=null, System.Nullable<int> selectedFeatureIndex=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference=null, string? stringContent=null, string? timeZone=null, string? title=null, System.Nullable<bool> updateLocationEnabled=null, System.Nullable<bool> visible=null, dymaptic.GeoBlazor.Core.Components.Widgets.Widget? widgetContent=null);

Parameters

actions System.Collections.Generic.IReadOnlyList<ActionBase>

Collection of action or action toggle objects.
ArcGIS Maps SDK for JavaScript

activeFeature Graphic

The highlighted feature on the map that is either hovered over or in focus within the feature menu.
ArcGIS Maps SDK for JavaScript

autoCloseEnabled System.Nullable<System.Boolean>

This closes the container when the View camera or Viewpoint changes.
default false
ArcGIS Maps SDK for JavaScript

browseClusterEnabled System.Nullable<System.Boolean>

Indicates if the “Browse features” experience is active in a
cluster popup.
default false
ArcGIS Maps SDK for JavaScript

defaultPopupTemplateEnabled System.Nullable<System.Boolean>

Enables automatic creation of a popup template for layers that have popups enabled but no
popupTemplate defined.
default false
ArcGIS Maps SDK for JavaScript

elementReferenceContent System.Nullable<Microsoft.AspNetCore.Components.ElementReference>

The information to display.
ArcGIS Maps SDK for JavaScript

featureMenuOpen System.Nullable<System.Boolean>

This property enables showing the list of features.
default false
ArcGIS Maps SDK for JavaScript

featureMenuTitle System.String

The title to display on the widget while viewing the feature menu.
ArcGIS Maps SDK for JavaScript

featurePage System.Nullable<System.Double>

The current page number in the feature browsing menu.
default null
ArcGIS Maps SDK for JavaScript

features System.Collections.Generic.IReadOnlyList<Graphic>

An array of features.
ArcGIS Maps SDK for JavaScript

featuresPerPage System.Nullable<System.Double>

The number of features to fetch at one time.
default 20
ArcGIS Maps SDK for JavaScript

featureViewModelAbilities Abilities

Defines the specific abilities that can be used when querying and displaying content.
ArcGIS Maps SDK for JavaScript

goToOverride GoToOverride(GoToOverrideParameters)

This function provides the ability to override either the MapView goTo() or SceneView goTo() methods.
ArcGIS Maps SDK for JavaScript

highlightEnabled System.Nullable<System.Boolean>

Highlight the selected feature using the highlightOptions
set on the MapView or the highlightOptions
set on the SceneView.
default true
ArcGIS Maps SDK for JavaScript

includeDefaultActions System.Nullable<System.Boolean>

Indicates whether or not to include defaultActions.
default true
ArcGIS Maps SDK for JavaScript

initialDisplayMode System.Nullable<InitialDisplayMode>

Indicates whether to initially display a list of features, or the content for one feature.
default “feature”
ArcGIS Maps SDK for JavaScript

location Point

Geometry used to show the location of the feature.
ArcGIS Maps SDK for JavaScript

screenLocation FeaturesViewModelScreenPoint

The screen location of the selected feature.
ArcGIS Maps SDK for JavaScript

screenLocationEnabled System.Nullable<System.Boolean>

Determines whether screen point tracking is active for positioning.
default false
ArcGIS Maps SDK for JavaScript

selectedFeatureIndex System.Nullable<System.Int32>

Index of the feature that is selected.
ArcGIS Maps SDK for JavaScript

spatialReference SpatialReference

The spatial reference used for Arcade operations.
default null
ArcGIS Maps SDK for JavaScript

stringContent System.String

The information to display.
ArcGIS Maps SDK for JavaScript

timeZone System.String

Dates and times will be displayed in this time zone.
ArcGIS Maps SDK for JavaScript

title System.String

The title of the widget.
ArcGIS Maps SDK for JavaScript

updateLocationEnabled System.Nullable<System.Boolean>

Indicates whether to update the location when the selectedFeatureIndex changes.
default false
ArcGIS Maps SDK for JavaScript

visible System.Nullable<System.Boolean>

Indicates whether the widget is visible.
default false
ArcGIS Maps SDK for JavaScript

widgetContent Widget

The information to display.
ArcGIS Maps SDK for JavaScript

Properties

FeaturesViewModel.Actions Property

GeoBlazor DocsCollection of action or action toggle objects.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>? Actions { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<ActionBase>

FeaturesViewModel.Active Property

Indicates if the view model is active when it is visible and is not waiting for results.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.ActiveFeature Property

The highlighted feature on the map that is either hovered over or in focus within the feature menu.
ArcGIS Maps SDK for JavaScript

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

Property Value

Graphic

FeaturesViewModel.AllActions Property

A collection of actions or action toggles.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>? AllActions { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<ActionBase>

FeaturesViewModel.AutoCloseEnabled Property

This closes the container when the View camera or Viewpoint changes.
default false
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.BrowseClusterEnabled Property

Indicates if the “Browse features” experience is active in a
cluster popup.
default false
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.DefaultActions Property

A read-only property that specifies a Collection of action buttons and/or toggles.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>? DefaultActions { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<ActionBase>

FeaturesViewModel.DefaultPopupTemplateEnabled Property

Enables automatic creation of a popup template for layers that have popups enabled but no
popupTemplate defined.
default false
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.ElementReferenceContent Property

The information to display.
ArcGIS Maps SDK for JavaScript

public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> ElementReferenceContent { get; set; }

Property Value

System.Nullable<Microsoft.AspNetCore.Components.ElementReference>

FeaturesViewModel.FeatureCount Property

The number of selected features available.
default 0
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> FeatureCount { get; set; }

Property Value

System.Nullable<System.Int32>

FeaturesViewModel.FeatureMenuOpen Property

This property enables showing the list of features.
default false
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.FeatureMenuTitle Property

The title to display on the widget while viewing the feature menu.
ArcGIS Maps SDK for JavaScript

public string? FeatureMenuTitle { get; set; }

Property Value

System.String

FeaturesViewModel.FeaturePage Property

The current page number in the feature browsing menu.
default null
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> FeaturePage { get; set; }

Property Value

System.Nullable<System.Double>

FeaturesViewModel.Features Property

An array of features.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Graphic>? Features { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<Graphic>

FeaturesViewModel.FeaturesPerPage Property

The number of features to fetch at one time.
default 20
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> FeaturesPerPage { get; set; }

Property Value

System.Nullable<System.Double>

FeaturesViewModel.FeatureViewModelAbilities Property

Defines the specific abilities that can be used when querying and displaying content.
ArcGIS Maps SDK for JavaScript

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

Property Value

Abilities

FeaturesViewModel.FeatureViewModels Property

An array of feature view model(s).
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IFeatureViewModel>? FeatureViewModels { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<IFeatureViewModel>

FeaturesViewModel.GoToOverride Property

This function provides the ability to override either the MapView goTo() or SceneView goTo() methods.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Functions.GoToOverride? GoToOverride { get; set; }

Implements GoToOverride

Property Value

GoToOverride(GoToOverrideParameters)

FeaturesViewModel.HasGoToOverride Property

A convenience property that signifies whether a custom GoToOverride function was registered.

public bool HasGoToOverride { get; }

Implements HasGoToOverride

Property Value

System.Boolean

FeaturesViewModel.HasTriggerActionListener Property

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

public bool HasTriggerActionListener { get; }

Property Value

System.Boolean

FeaturesViewModel.HighlightEnabled Property

Highlight the selected feature using the highlightOptions
set on the MapView or the highlightOptions
set on the SceneView.
default true
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.IncludeDefaultActions Property

Indicates whether or not to include defaultActions.
default true
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.InitialDisplayMode Property

Indicates whether to initially display a list of features, or the content for one feature.
default “feature”
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.InitialDisplayMode> InitialDisplayMode { get; set; }

Property Value

System.Nullable<InitialDisplayMode>

FeaturesViewModel.Location Property

Geometry used to show the location of the feature.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Geometries.Point? Location { get; set; }

Property Value

Point

FeaturesViewModel.OnTriggerAction Property

Fires after the user clicks on an action or action toggle in the action bar. This
event may be used to define a custom function to execute when particular
actions are clicked. See the example below for details of how this works.

public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.FeaturesViewModelTriggerActionEvent> OnTriggerAction { get; set; }

Property Value

Microsoft.AspNetCore.Components.EventCallback<FeaturesViewModelTriggerActionEvent>

FeaturesViewModel.PendingPromisesCount Property

The number of promises remaining to be resolved.
default 0
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> PendingPromisesCount { get; set; }

Property Value

System.Nullable<System.Int32>

FeaturesViewModel.ScreenLocation Property

The screen location of the selected feature.
ArcGIS Maps SDK for JavaScript

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

Property Value

FeaturesViewModelScreenPoint

FeaturesViewModel.ScreenLocationEnabled Property

Determines whether screen point tracking is active for positioning.
default false
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.SelectedClusterBoundaryFeature Property

The graphic used to represent the cluster extent when the Browse features action
is active.
ArcGIS Maps SDK for JavaScript

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

Property Value

Graphic

FeaturesViewModel.SelectedFeature Property

The selected feature accessed.
ArcGIS Maps SDK for JavaScript

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

Property Value

Graphic

FeaturesViewModel.SelectedFeatureIndex Property

Index of the feature that is selected.
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> SelectedFeatureIndex { get; set; }

Property Value

System.Nullable<System.Int32>

FeaturesViewModel.SelectedFeatureViewModel Property

The view model of the selected feature.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Interfaces.IFeatureViewModel? SelectedFeatureViewModel { get; set; }

Property Value

IFeatureViewModel

FeaturesViewModel.SpatialReference Property

The spatial reference used for Arcade operations.
default null
ArcGIS Maps SDK for JavaScript

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

Property Value

SpatialReference

FeaturesViewModel.State Property

The view model’s state.
default “disabled”
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.ViewModelState> State { get; set; }

Property Value

System.Nullable<ViewModelState>

FeaturesViewModel.StringContent Property

The information to display.
ArcGIS Maps SDK for JavaScript

public string? StringContent { get; set; }

Property Value

System.String

FeaturesViewModel.TimeZone Property

Dates and times will be displayed in this time zone.
ArcGIS Maps SDK for JavaScript

public string? TimeZone { get; set; }

Property Value

System.String

FeaturesViewModel.Title Property

The title of the widget.
ArcGIS Maps SDK for JavaScript

public string? Title { get; set; }

Property Value

System.String

FeaturesViewModel.UpdateLocationEnabled Property

Indicates whether to update the location when the selectedFeatureIndex changes.
default false
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.WaitingForContents Property

Indicates whether the widget is waiting for content to be resolved.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.WaitingForResult Property

Indicates whether a feature was found while resolving promises.
default false
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

FeaturesViewModel.WidgetContent Property

The information to display.
ArcGIS Maps SDK for JavaScript

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

Property Value

Widget

Methods

FeaturesViewModel.AddToActions(ActionBase[]) Method

Asynchronously adds elements to the Actions property.

public System.Threading.Tasks.Task AddToActions(params dymaptic.GeoBlazor.Core.Components.ActionBase[] values);

Parameters

values ActionBase[]

The elements to add.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.AddToFeatures(Graphic[]) Method

Asynchronously adds elements to the Features property.

public System.Threading.Tasks.Task AddToFeatures(params dymaptic.GeoBlazor.Core.Components.Graphic[] values);

Parameters

values Graphic[]

The elements to add.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.Clear() Method

Removes all promises, features, content, and
title.
ArcGIS Maps SDK for JavaScript

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

Returns

System.Threading.Tasks.Task

FeaturesViewModel.FetchFeatures(ScreenPoint, PopupFetchFeaturesOptions, CancellationToken) Method

Use this method to return feature(s) at a given screen location.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.FetchPopupFeaturesResult?> FetchFeatures(dymaptic.GeoBlazor.Core.Model.ScreenPoint screenPoint, dymaptic.GeoBlazor.Core.Options.PopupFetchFeaturesOptions options, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

screenPoint ScreenPoint

An object representing a point on the screen. This point can be in either the
MapView or
SceneView.

options PopupFetchFeaturesOptions

The options to pass into the

fetchFeatures  
``` method.

<a name='dymaptic.GeoBlazor.Core.Components.FeaturesViewModel.FetchFeatures(dymaptic.GeoBlazor.Core.Model.ScreenPoint,dymaptic.GeoBlazor.Core.Options.PopupFetchFeaturesOptions,System.Threading.CancellationToken).cancellationToken'></a>

`cancellationToken` [System.Threading.CancellationToken](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.CancellationToken 'System.Threading.CancellationToken')

The CancellationToken to cancel an asynchronous operation.

#### Returns
[System.Threading.Tasks.Task&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[FetchPopupFeaturesResult](dymaptic.GeoBlazor.Core.Results.FetchPopupFeaturesResult.html 'dymaptic.GeoBlazor.Core.Results.FetchPopupFeaturesResult')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')

<a name='dymaptic.GeoBlazor.Core.Components.FeaturesViewModel.GetActions()'></a>

## FeaturesViewModel.GetActions() Method

Asynchronously retrieve the current value of the Actions property.

```csharp
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>?> GetActions();

Returns

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

FeaturesViewModel.GetActive() Method

Asynchronously retrieve the current value of the Active property.

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

Returns

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

FeaturesViewModel.GetActiveFeature() Method

Asynchronously retrieve the current value of the ActiveFeature property.

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

Returns

System.Threading.Tasks.Task<Graphic>

FeaturesViewModel.GetAllActions() Method

Asynchronously retrieve the current value of the AllActions property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>?> GetAllActions();

Returns

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

FeaturesViewModel.GetAutoCloseEnabled() Method

Asynchronously retrieve the current value of the AutoCloseEnabled property.

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

Returns

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

FeaturesViewModel.GetBrowseClusterEnabled() Method

Asynchronously retrieve the current value of the BrowseClusterEnabled property.

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

Returns

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

FeaturesViewModel.GetDefaultActions() Method

Asynchronously retrieve the current value of the DefaultActions property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>?> GetDefaultActions();

Returns

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

FeaturesViewModel.GetDefaultPopupTemplateEnabled() Method

Asynchronously retrieve the current value of the DefaultPopupTemplateEnabled property.

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

Returns

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

FeaturesViewModel.GetElementReferenceContent() Method

Asynchronously retrieve the current value of the ElementReferenceContent property.

public System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>> GetElementReferenceContent();

Returns

System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>>

FeaturesViewModel.GetFeatureCount() Method

Asynchronously retrieve the current value of the FeatureCount property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetFeatureCount();

Returns

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

FeaturesViewModel.GetFeatureMenuOpen() Method

Asynchronously retrieve the current value of the FeatureMenuOpen property.

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

Returns

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

FeaturesViewModel.GetFeatureMenuTitle() Method

Asynchronously retrieve the current value of the FeatureMenuTitle property.

public System.Threading.Tasks.Task<string?> GetFeatureMenuTitle();

Returns

System.Threading.Tasks.Task<System.String>

FeaturesViewModel.GetFeaturePage() Method

Asynchronously retrieve the current value of the FeaturePage property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetFeaturePage();

Returns

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

FeaturesViewModel.GetFeatures() Method

Asynchronously retrieve the current value of the Features property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Graphic>?> GetFeatures();

Returns

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

FeaturesViewModel.GetFeaturesPerPage() Method

Asynchronously retrieve the current value of the FeaturesPerPage property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetFeaturesPerPage();

Returns

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

FeaturesViewModel.GetFeatureViewModelAbilities() Method

Asynchronously retrieve the current value of the FeatureViewModelAbilities property.

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

Returns

System.Threading.Tasks.Task<Abilities>

FeaturesViewModel.GetFeatureViewModels() Method

Asynchronously retrieve the current value of the FeatureViewModels property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IFeatureViewModel>?> GetFeatureViewModels();

Returns

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

FeaturesViewModel.GetHighlightEnabled() Method

Asynchronously retrieve the current value of the HighlightEnabled property.

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

Returns

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

FeaturesViewModel.GetIncludeDefaultActions() Method

Asynchronously retrieve the current value of the IncludeDefaultActions property.

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

Returns

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

FeaturesViewModel.GetInitialDisplayMode() Method

Asynchronously retrieve the current value of the InitialDisplayMode property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.InitialDisplayMode>> GetInitialDisplayMode();

Returns

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

FeaturesViewModel.GetLocation() Method

Asynchronously retrieve the current value of the Location property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Point?> GetLocation();

Returns

System.Threading.Tasks.Task<Point>

FeaturesViewModel.GetPendingPromisesCount() Method

Asynchronously retrieve the current value of the PendingPromisesCount property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetPendingPromisesCount();

Returns

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

FeaturesViewModel.GetScreenLocation() Method

Asynchronously retrieve the current value of the ScreenLocation property.

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

Returns

System.Threading.Tasks.Task<FeaturesViewModelScreenPoint>

FeaturesViewModel.GetScreenLocationEnabled() Method

Asynchronously retrieve the current value of the ScreenLocationEnabled property.

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

Returns

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

FeaturesViewModel.GetSelectedClusterBoundaryFeature() Method

Asynchronously retrieve the current value of the SelectedClusterBoundaryFeature property.

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

Returns

System.Threading.Tasks.Task<Graphic>

FeaturesViewModel.GetSelectedFeature() Method

Asynchronously retrieve the current value of the SelectedFeature property.

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

Returns

System.Threading.Tasks.Task<Graphic>

FeaturesViewModel.GetSelectedFeatureIndex() Method

Asynchronously retrieve the current value of the SelectedFeatureIndex property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetSelectedFeatureIndex();

Returns

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

FeaturesViewModel.GetSelectedFeatureViewModel() Method

Asynchronously retrieve the current value of the SelectedFeatureViewModel property.

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

Returns

System.Threading.Tasks.Task<IFeatureViewModel>

FeaturesViewModel.GetSpatialReference() Method

Asynchronously retrieve the current value of the SpatialReference property.

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

Returns

System.Threading.Tasks.Task<SpatialReference>

FeaturesViewModel.GetState() Method

Asynchronously retrieve the current value of the State property.

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

Returns

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

FeaturesViewModel.GetStringContent() Method

Asynchronously retrieve the current value of the StringContent property.

public System.Threading.Tasks.Task<string?> GetStringContent();

Returns

System.Threading.Tasks.Task<System.String>

FeaturesViewModel.GetTimeZone() Method

Asynchronously retrieve the current value of the TimeZone property.

public System.Threading.Tasks.Task<string?> GetTimeZone();

Returns

System.Threading.Tasks.Task<System.String>

FeaturesViewModel.GetTitle() Method

Asynchronously retrieve the current value of the Title property.

public System.Threading.Tasks.Task<string?> GetTitle();

Returns

System.Threading.Tasks.Task<System.String>

FeaturesViewModel.GetUpdateLocationEnabled() Method

Asynchronously retrieve the current value of the UpdateLocationEnabled property.

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

Returns

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

FeaturesViewModel.GetWaitingForContents() Method

Asynchronously retrieve the current value of the WaitingForContents property.

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

Returns

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

FeaturesViewModel.GetWaitingForResult() Method

Asynchronously retrieve the current value of the WaitingForResult property.

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

Returns

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

FeaturesViewModel.GetWidgetContent() Method

Asynchronously retrieve the current value of the WidgetContent property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Widgets.Widget?> GetWidgetContent();

Returns

System.Threading.Tasks.Task<Widget>

FeaturesViewModel.Next() Method

Selects the feature at the next index in relation to the selected feature.
ArcGIS Maps SDK for JavaScript

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

Returns

System.Threading.Tasks.Task<FeaturesViewModel>

FeaturesViewModel.OnJsGoToOverride(IJSStreamReference) Method

JS-invokable method that triggers the GoToOverride function.
Should not be called by consuming code.

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

Parameters

jsStreamRef Microsoft.JSInterop.IJSStreamReference

Implements OnJsGoToOverride(IJSStreamReference)

Returns

System.Threading.Tasks.Task

FeaturesViewModel.OnJsTriggerAction(IJSStreamReference) Method

JavaScript-Invokable Method for internal use only.

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

Parameters

jsStreamRef Microsoft.JSInterop.IJSStreamReference

Returns

System.Threading.Tasks.Task

FeaturesViewModel.Open(GoToOptions) Method

Opens the widget at the given location with content defined either explicitly with content
or driven from the PopupTemplate of input features.
param options.title Sets the title of the popup.
param options.fetchFeatures *Since:4.12 When true, indicates the feature’s content should be fetched and displayed. If no PopupTemplate exists, a default template is created for the layer if defaultPopupTemplateEnabled = true. In order for this option to work, there must be a valid view and location set.
param options.features Sets the features, which populates the title and content based on each graphic’s PopupTemplate.
param options.updateLocationEnabled When true, indicates the location property will be updated for each paginated feature based on the selected feature’s geometry.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task Open(dymaptic.GeoBlazor.Core.Options.GoToOptions options);

Parameters

options GoToOptions

Defines the location and content of the popup when opened.

  • options.content: Sets the content of the popup.
  • options.location: Sets the location, which is the geometry used to position the popup.
  • options.promises: Sets pending promises. The UI will display once the promises resolve. Each promise must resolve to an array of Graphics.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.Previous() Method

Selects the feature at the previous index in relation to the selected feature.
ArcGIS Maps SDK for JavaScript

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

Returns

System.Threading.Tasks.Task<FeaturesViewModel>

FeaturesViewModel.RemoveFromActions(ActionBase[]) Method

Asynchronously remove an element from the Actions property.

public System.Threading.Tasks.Task RemoveFromActions(params dymaptic.GeoBlazor.Core.Components.ActionBase[] values);

Parameters

values ActionBase[]

The elements to remove.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.RemoveFromFeatures(Graphic[]) Method

Asynchronously remove an element from the Features property.

public System.Threading.Tasks.Task RemoveFromFeatures(params dymaptic.GeoBlazor.Core.Components.Graphic[] values);

Parameters

values Graphic[]

The elements to remove.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetActions(IReadOnlyList) Method

Asynchronously set the value of the Actions property after render.

public System.Threading.Tasks.Task SetActions(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ActionBase>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<ActionBase>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetActiveFeature(Graphic) Method

Asynchronously set the value of the ActiveFeature property after render.

public System.Threading.Tasks.Task SetActiveFeature(dymaptic.GeoBlazor.Core.Components.Graphic? value);

Parameters

value Graphic

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetAutoCloseEnabled(Nullable) Method

Asynchronously set the value of the AutoCloseEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetBrowseClusterEnabled(Nullable) Method

Asynchronously set the value of the BrowseClusterEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetDefaultPopupTemplateEnabled(Nullable) Method

Asynchronously set the value of the DefaultPopupTemplateEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetElementReferenceContent(Nullable) Method

Asynchronously set the value of the ElementReferenceContent property after render.

public System.Threading.Tasks.Task SetElementReferenceContent(System.Nullable<Microsoft.AspNetCore.Components.ElementReference> value);

Parameters

value System.Nullable<Microsoft.AspNetCore.Components.ElementReference>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetFeatureMenuOpen(Nullable) Method

Asynchronously set the value of the FeatureMenuOpen property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetFeatureMenuTitle(string) Method

Asynchronously set the value of the FeatureMenuTitle property after render.

public System.Threading.Tasks.Task SetFeatureMenuTitle(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetFeaturePage(Nullable) Method

Asynchronously set the value of the FeaturePage property after render.

public System.Threading.Tasks.Task SetFeaturePage(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetFeatures(IReadOnlyList) Method

Asynchronously set the value of the Features property after render.

public System.Threading.Tasks.Task SetFeatures(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Graphic>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<Graphic>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetFeaturesPerPage(Nullable) Method

Asynchronously set the value of the FeaturesPerPage property after render.

public System.Threading.Tasks.Task SetFeaturesPerPage(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetFeatureViewModelAbilities(Abilities) Method

Asynchronously set the value of the FeatureViewModelAbilities property after render.

public System.Threading.Tasks.Task SetFeatureViewModelAbilities(dymaptic.GeoBlazor.Core.Components.Abilities? value);

Parameters

value Abilities

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetHighlightEnabled(Nullable) Method

Asynchronously set the value of the HighlightEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetIncludeDefaultActions(Nullable) Method

Asynchronously set the value of the IncludeDefaultActions property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetInitialDisplayMode(Nullable) Method

Asynchronously set the value of the InitialDisplayMode property after render.

public System.Threading.Tasks.Task SetInitialDisplayMode(System.Nullable<dymaptic.GeoBlazor.Core.Enums.InitialDisplayMode> value);

Parameters

value System.Nullable<InitialDisplayMode>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetLocation(Point) Method

Asynchronously set the value of the Location property after render.

public System.Threading.Tasks.Task SetLocation(dymaptic.GeoBlazor.Core.Components.Geometries.Point? value);

Parameters

value Point

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetScreenLocation(FeaturesViewModelScreenPoint) Method

Asynchronously set the value of the ScreenLocation property after render.

public System.Threading.Tasks.Task SetScreenLocation(dymaptic.GeoBlazor.Core.Components.FeaturesViewModelScreenPoint? value);

Parameters

value FeaturesViewModelScreenPoint

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetScreenLocationEnabled(Nullable) Method

Asynchronously set the value of the ScreenLocationEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetSelectedFeatureIndex(Nullable) Method

Asynchronously set the value of the SelectedFeatureIndex property after render.

public System.Threading.Tasks.Task SetSelectedFeatureIndex(System.Nullable<int> value);

Parameters

value System.Nullable<System.Int32>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetSpatialReference(SpatialReference) Method

Asynchronously set the value of the SpatialReference property after render.

public System.Threading.Tasks.Task SetSpatialReference(dymaptic.GeoBlazor.Core.Components.SpatialReference? value);

Parameters

value SpatialReference

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetStringContent(string) Method

Asynchronously set the value of the StringContent property after render.

public System.Threading.Tasks.Task SetStringContent(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetTimeZone(string) Method

Asynchronously set the value of the TimeZone property after render.

public System.Threading.Tasks.Task SetTimeZone(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetTitle(string) Method

Asynchronously set the value of the Title property after render.

public System.Threading.Tasks.Task SetTitle(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetUpdateLocationEnabled(Nullable) Method

Asynchronously set the value of the UpdateLocationEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.SetWidgetContent(Widget) Method

Asynchronously set the value of the WidgetContent property after render.

public System.Threading.Tasks.Task SetWidgetContent(dymaptic.GeoBlazor.Core.Components.Widgets.Widget? value);

Parameters

value Widget

The value to set.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.TriggerAction(int) Method

Triggers the trigger-action event and executes the action
at the specified index in the actions array.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task TriggerAction(int actionIndex);

Parameters

actionIndex System.Int32

The index of the action to execute.

Returns

System.Threading.Tasks.Task

FeaturesViewModel.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()

FeaturesViewModel.ZoomTo(GoToTarget, GoToOptions) Method

Sets the view to a given target.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<string?> ZoomTo(dymaptic.GeoBlazor.Core.Model.GoToTarget target, dymaptic.GeoBlazor.Core.Options.GoToOptions options);

Parameters

target GoToTarget

options GoToOptions

Returns

System.Threading.Tasks.Task<System.String>