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
Name | Description |
---|---|
Clone() | Clones this instance of the map and its members. |
FromJson(String) | Creates a map from specified JSON. |
GetNamedTraceConfigurationsFromUtilityNetworkAsync(UtilityNetwork) | Asynchronously retrieves a list of all UtilityNamedTraceConfiguration objects referenced by this map for the specified utility network. |
GetNamedTraceConfigurationsFromUtilityNetworkAsync(UtilityNetwork, CancellationToken) | Asynchronously retrieves a list of all UtilityNamedTraceConfiguration objects referenced by this map for the specified utility network. |
LoadFromUriAsync(Uri) | Creates a map from a Uri to a webmap and loads it. |
SaveAsAsync(ArcGISPortal, PortalFolder, String, String, IEnumerable<String>, RuntimeImage, Boolean) | Save the map to a new PortalItem. |
SaveAsAsync(ArcGISPortal, PortalFolder, String, String, IEnumerable<String>, RuntimeImage, Boolean, CancellationToken) | Save the map to a new PortalItem. |
SaveAsync(Boolean) | Saves any changes that have been made to the map to the associated PortalItem. |
SaveAsync(Boolean, CancellationToken) | Save any changes that have been made to the map to the associated PortalItem. |
ToJson() | Converts a map into an ArcGIS JSON representation. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.0 |
.NET 6.0 | 100.13 - 200.0 |
.NET 6.0 Windows | 100.13 - 200.0 |
.NET 6.0 Android | 200 |
.NET 6.0 iOS | 200 |
.NET Framework | 100.0 - 200.0 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.0 - 100.15 |
iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.0 |