layout: default title: PortalBasemapsSource parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

PortalBasemapsSource Class

The PortalBasemapsSource class is a Portal-driven Basemap source in the BasemapGalleryViewModel or BasemapGallery
widget.
ArcGIS Maps SDK for JavaScript

public class PortalBasemapsSource : dymaptic.GeoBlazor.Core.Components.MapComponent

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

Properties

PortalBasemapsSource.Portal Property

The Portal from which to fetch basemaps.

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

Property Value

Portal

PortalBasemapsSource.QueryParams Property

An object with key-value pairs used to create a custom basemap gallery group query.

public System.Collections.Generic.Dictionary<string,string>? QueryParams { get; set; }

Property Value

System.Collections.Generic.Dictionary<System.String,System.String>

Remarks

User either QueryString or QueryParams

PortalBasemapsSource.QueryString Property

An query string used to create a custom basemap gallery group query.

public string? QueryString { get; set; }

Property Value

System.String

Remarks

User either QueryString or QueryParams

Methods

PortalBasemapsSource.RegisterChildComponent(MapComponent) Method

Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with it’s parent.

public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The calling, child component to register

Returns

System.Threading.Tasks.Task

Exceptions

InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.

PortalBasemapsSource.UnregisterChildComponent(MapComponent) Method

Undoes the “Registration” of a child with its parent.

public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The child to unregister

Returns

System.Threading.Tasks.Task

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.