dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Widgets.LayerList
ListItem Class
The ListItem class represents one of the operationalItems in the LayerListViewModel. In the LayerList widget UI,
the list item represents a layer displayed in the view. It provides access to the associated layer’s properties,
allows the developer to configure actions related to the layer, and allows the developer to add content to the item
related to the layer.
ArcGIS JS API
public class ListItem
Inheritance System.Object 🡒 ListItem
Properties
ListItem.ActionSections Property
Sets the actions on click for the list item.
public dymaptic.GeoBlazor.Core.Components.ActionBase[][]? ActionSections { get; set; }
Property Value
Remarks
The Action Sections property and corresponding functionality will be fully implemented
in a future iteration. Currently, a user can view available layers in the layer list widget
and toggle the selected layer’s visibility. More capabilities will be available after full
implementation of ActionSection.
ListItem.Children Property
The children items in a layer.
public System.Collections.Generic.List<dymaptic.GeoBlazor.Core.Components.Widgets.LayerList.ListItem>? Children { get; set; }
Property Value
System.Collections.Generic.List<ListItem>
Remarks
Editing not currently supported.
ListItem.Layer Property
Sets the layer values for this item.
public dymaptic.GeoBlazor.Core.Components.Layers.Layer? Layer { get; set; }
Property Value
Remarks
Editing not currently supported.
ListItem.Title Property
The displayed title of the layer in the LayerList Widget.
public string? Title { get; set; }
Property Value
ListItem.Visible Property
Determines whether the layer is visible on load.
public System.Nullable<bool> Visible { get; set; }