dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Popups
PopupViewModel Class
Provides the logic for the Popup widget, which allows users to view content from feature attributes. ArcGIS Maps SDK for JavaScript
public class PopupViewModel : dymaptic.GeoBlazor.Core.Components.FeaturesViewModel
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 FeaturesViewModel 🡒 PopupViewModel
Constructors
PopupViewModel() Constructor
Parameterless constructor for use as a Razor Component.
public PopupViewModel();
PopupViewModel(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 PopupViewModel(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