Class Map
The map contains layers and additional properties and can be displayed in a MapView.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class Map : GeoModel, INotifyPropertyChanged, ILoadable
Constructors
| Name | Description |
|---|---|
| Map() | Initializes a new instance of the Map class. |
| Map(SpatialReference) | Initializes a new instance of the Map class with a specified spatial reference. |
| Map(Basemap) | |
| Map(BasemapStyle) | Initializes a new instance of the Map class with a BasemapStyle. |
| Map(Item) | Initializes a new instance of the Map class with an ArcGIS Item. |
| Map(Uri) | Initializes a new instance of the Map class with a Uri to a web map. |
Properties
| Name | Description |
|---|---|
| BackgroundColor | Gets or sets the background color of the map. |
| MaxExtent | Gets or sets the extent that constrains the display to a specific region. |
| MaxScale | Gets or sets the maximum scale for the map. |
| MinScale | Gets or sets the minimum scale for the map. |
| OfflineSettings | Gets offline settings configured by the author of an online web map (if appropriate). |
| ReferenceScale | Gets or sets the reference scale for the map. |
| UnknownJson | Gets the unknown JSON from the webmap source JSON in a dictionary of JSON strings. This data will be lost if the webmap gets saved back to JSON. |
| UnsupportedJson | Gets the unsupported data from the webmap source JSON from the webmap source JSON in a dictionary of JSON strings. This data will be persisted in the document. |
| Uri | Gets the Uri for the map. |
| UtilityNetworks | Gets the list of UtilityNetwork in the map. |
Methods
Applies to
| 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 |