dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
BasemapGalleryItem Class
The BasemapGalleryItem class represents one of the items
in the BasemapGallery.
ArcGIS Maps SDK for JavaScript
public class BasemapGalleryItem : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 BasemapGalleryItem
Constructors
BasemapGalleryItem() Constructor
Parameterless constructor for use as a Razor Component.
public BasemapGalleryItem();
BasemapGalleryItem(Basemap) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public BasemapGalleryItem(dymaptic.GeoBlazor.Core.Components.Basemap? basemap=null);
Parameters
basemap
Basemap
The item’s associated basemap.
ArcGIS Maps SDK for JavaScript
Properties
BasemapGalleryItem.Basemap Property
The item’s associated basemap.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Basemap? Basemap { get; set; }
Property Value
BasemapGalleryItem.Error Property
The Error object returned if an error occurred.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.Error? Error { get; set; }
Property Value
BasemapGalleryItem.State Property
The item’s state.
default “loading”
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.BasemapGalleryItemState> State { get; set; }
Property Value
System.Nullable<BasemapGalleryItemState>
Methods
BasemapGalleryItem.GetBasemap() Method
Asynchronously retrieve the current value of the Basemap property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Basemap?> GetBasemap();
Returns
System.Threading.Tasks.Task<Basemap>
BasemapGalleryItem.GetError() Method
Asynchronously retrieve the current value of the Error property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Error?> GetError();
Returns
System.Threading.Tasks.Task<Error>
BasemapGalleryItem.GetState() Method
Asynchronously retrieve the current value of the State property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.BasemapGalleryItemState>> GetState();
Returns
System.Threading.Tasks.Task<System.Nullable<BasemapGalleryItemState>>
BasemapGalleryItem.SetBasemap(Basemap) Method
Asynchronously set the value of the Basemap property after render.
public System.Threading.Tasks.Task SetBasemap(dymaptic.GeoBlazor.Core.Components.Basemap? value);
Parameters
value
Basemap
The value to set.
Returns
BasemapGalleryItem.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()