Constructor Basemap
Basemap()
Initializes a new instance of the Basemap class.
Declaration
public Basemap()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Basemap(Layer)
Initializes a new instance of the Basemap class with the specified layer.
Declaration
public Basemap(Layer baseLayer)
Parameters
Type | Name | Description |
---|---|---|
Layer | baseLayer | The base layer to add to the BaseLayers collection. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
Basemap(IEnumerable<Layer>, IEnumerable<Layer>)
Initializes a new instance of the Basemap class with a set of predefined layers.
Declaration
public Basemap(IEnumerable<Layer> baseLayers, IEnumerable<Layer> referencelayers = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Layer> | baseLayers | The base layers to add to the BaseLayers collection. |
IEnumerable<Layer> | referencelayers | The reference layers to add to the ReferenceLayers collection. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.14 |
Basemap(Uri)
Initializes a new instance of the Basemap class with a Uri to a portal item which is a web base map.
Declaration
public Basemap(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The base map URI |
Remarks
The uri parameter may be a direct Uri to web map JSON content or the Uri of a portal item. Examples of supported portal item Uri values:
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.14 |
Relevant samples
Basemap(Item)
Initializes a new instance of the Basemap class with an ArcGIS Item.
Declaration
public Basemap(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The ArcGIS Item |
Remarks
The specified portal item must be of type WebMap or the Basemap will fail to load
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Basemap(BasemapStyle)
Initializes a new instance of the Basemap class with a basemap style.
Declaration
public Basemap(BasemapStyle style)
Parameters
Type | Name | Description |
---|---|---|
BasemapStyle | style | The basemap style. |
Remarks
These basemaps are secured and access requires either an ApiKey or a named user.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.10 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.10 - 100.12 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 100.15 |