Property Map
Map
Gets or sets the map that the MapView is displaying.
Declaration
[TypeConverter(typeof(MapConverter))]
public Map Map { get; set; }
Property Value
Type | Description |
---|---|
Map | The map the view renders. |
Remarks
If you assign a Map to a MapView, the map, its Basemap, and collection of operational layers automatically start to load. When loading completes, the layers and basemap are rendered in the map view.
To validate the content of a map before you display it, call LoadFromUriAsync(Uri) to load the Map into your app before you assign it to a MapView.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Android | 200.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |