dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
LocalBasemapsSource Class
The LocalBasemapsSource class is a Collection-driven Basemapsource in the BasemapGalleryViewModel or BasemapGallery widget.
ArcGIS Maps SDK for JavaScript
public class LocalBasemapsSource : dymaptic.GeoBlazor.Core.Components.MapComponent,
dymaptic.GeoBlazor.Core.Interfaces.IBasemapGalleryWidgetSource,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 LocalBasemapsSource
Derived
↳ PortalBasemapsSource
Implements IBasemapGalleryWidgetSource, IMapComponent
Constructors
LocalBasemapsSource() Constructor
Parameterless constructor for use as a Razor Component.
public LocalBasemapsSource();
LocalBasemapsSource(IReadOnlyList) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public LocalBasemapsSource(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Basemap>? basemaps=null);
Parameters
basemaps
System.Collections.Generic.IReadOnlyList<Basemap>
A collection of Basemaps.
ArcGIS Maps SDK for JavaScript
Properties
LocalBasemapsSource.Basemaps Property
A collection of Basemaps.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Basemap>? Basemaps { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Basemap>
LocalBasemapsSource.State Property
The source’s state.
ArcGIS Maps SDK for JavaScript
public string? State { get; set; }
Property Value
Methods
LocalBasemapsSource.AddToBasemaps(Basemap[]) Method
Asynchronously adds elements to the Basemaps property.
public System.Threading.Tasks.Task AddToBasemaps(params dymaptic.GeoBlazor.Core.Components.Basemap[] values);
Parameters
The elements to add.
Returns
LocalBasemapsSource.GetBasemaps() Method
Asynchronously retrieve the current value of the Basemaps property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Basemap>?> GetBasemaps();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Basemap>>
LocalBasemapsSource.GetState() Method
Asynchronously retrieve the current value of the State property.
public System.Threading.Tasks.Task<string?> GetState();
Returns
System.Threading.Tasks.Task<System.String>
LocalBasemapsSource.RemoveFromBasemaps(Basemap[]) Method
Asynchronously remove an element from the Basemaps property.
public System.Threading.Tasks.Task RemoveFromBasemaps(params dymaptic.GeoBlazor.Core.Components.Basemap[] values);
Parameters
The elements to remove.
Returns
LocalBasemapsSource.SetBasemaps(IReadOnlyList) Method
Asynchronously set the value of the Basemaps property after render.
public System.Threading.Tasks.Task SetBasemaps(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Basemap>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<Basemap>
The value to set.
Returns
LocalBasemapsSource.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()