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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.8 |
.NET | 100.13 - 200.8 |
.NET Windows | 100.13 - 200.8 |
.NET Android | 200.0 - 200.8 |
.NET iOS | 200.0 - 200.8 |
.NET Framework | 100.12 - 200.8 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.8 |
.NET | 100.13 - 200.8 |
.NET Windows | 100.13 - 200.8 |
.NET Android | 200.2 - 200.8 |
.NET iOS | 200.0 - 200.8 |
.NET Framework | 100.12 - 200.8 |
Xamarin.Android | 100.12 - 100.14 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.8 |