Show / Hide Table of Contents

Method GetDeveloperBasemapsAsync

GetDeveloperBasemapsAsync()

Executes a portal query to fetch the developer basemaps for this portal.

Declaration
public Task<IEnumerable<Basemap>> GetDeveloperBasemapsAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Basemap>>

A task object representing the asynchronous developer basemap gallery query operation. The value of the task result is a collection of Basemap objects.

Remarks

A portal may contain a set of associated basemaps, called developer basemaps, which are accessible and metered via API keys. These are equivalent to basemaps constructed via a BasemapStyle.

See Also
DeveloperBasemapGalleryGroupQuery

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.12 - 200.8
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.8

GetDeveloperBasemapsAsync(CancellationToken)

Gets the Basemap objects in the portal's developer basemap gallery group.

Declaration
public Task<IEnumerable<Basemap>> GetDeveloperBasemapsAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

A token with which to cancel the operation if required.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Basemap>>

A task object representing the asynchronous developer basemap gallery query operation. The value of the task result is a collection of Basemap objects.

Remarks

The portal's developer basemap gallery group is defined by the portal's administrator and contains the basemaps that are displayed in the Map Viewer basemap gallery when a user logs in with an ArcGIS Location Platform account. The basemaps in the collection are not loaded, but you can access their PortalItem metadata from Item.

See Also
DeveloperBasemapGalleryGroupQuery

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.2 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.12 - 200.8
Xamarin.Android100.12 - 100.14
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.8
In This Article
Back to top Copyright © 2022 Esri.