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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.7 - 200.8 |
.NET | 200.7 - 200.8 |
.NET Windows | 200.7 - 200.8 |
.NET Android | 200.7 - 200.8 |
.NET iOS | 200.7 - 200.8 |
.NET Framework | 200.7 - 200.8 |
UWP | 200.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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.7 - 200.8 |
.NET | 200.7 - 200.8 |
.NET Windows | 200.7 - 200.8 |
.NET Android | 200.7 - 200.8 |
.NET iOS | 200.7 - 200.8 |
.NET Framework | 200.7 - 200.8 |
UWP | 200.7 - 200.8 |