Show / Hide Table of Contents

Method Get3DBasemapsAsync

Get3DBasemapsAsync()

Gets the Basemap objects in the portal's Basemap3DGalleryGroupQuery.

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

A Task that provides the Basemap objects within the 3D basemap gallery group.

Remarks

The portal's Basemap3DGalleryGroupQuery is defined by the portal's administrator and contains the 3D basemaps that are displayed in the Scene Viewer basemap gallery. The basemaps in this collection are not loaded, but you can access their ref PortalItem metadata from Item.

See Also
Basemap3DGalleryGroupQuery
Basemap

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.7 - 200.8
.NET200.7 - 200.8
.NET Windows200.7 - 200.8
.NET Android200.7 - 200.8
.NET iOS200.7 - 200.8
.NET Framework200.7 - 200.8
UWP200.7 - 200.8

Get3DBasemapsAsync(CancellationToken)

Gets the Basemap objects in the portal's Basemap3DGalleryGroupQuery.

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

A System.Threading.CancellationToken with which to cancel the operation if required.

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

A Task that provides the Basemap objects within the 3D basemap gallery group.

Remarks

The portal's basemap gallery group is defined by the portal's administrator and contains the basemaps that are displayed in the Map Viewer basemap gallery if a user logs in with an ArcGIS Online or ArcGIS Enterprise account. Note that if the value of UseVectorBasemaps is true, the Map Viewer displays the basemaps collection returned by GetVectorBasemapsAsync() and it's recommended that you use that collection instead.

The basemaps in this collection are not loaded, but you can access their PortalItem metadata from Item.

See Also
Basemap3DGalleryGroupQuery
Basemap

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.7 - 200.8
.NET200.7 - 200.8
.NET Windows200.7 - 200.8
.NET Android200.7 - 200.8
.NET iOS200.7 - 200.8
.NET Framework200.7 - 200.8
UWP200.7 - 200.8
In This Article
Back to top Copyright © 2022 Esri.