Display a map with an imagery basemap.
Use case
The map is the fundamental building block of any GIS application and is used to specify how geographic data is organized and communicated to your users.
How to use the sample
Run the sample to view the map. Pan and zoom to navigate the map.
How it works
- Create an
Map
with aBasemapStyle.ArcGISImageryStandard
basemap style. - Create a
MapView
object to display the map. - Set the map to the map view.
Relevant API
- Basemap
- Map
- MapView
Tags
basemap, map
Sample Code
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGISRuntime.Samples.DisplayMap.DisplayMap"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Xamarin.Forms;assembly=Esri.ArcGISRuntime.Xamarin.Forms">
<Grid>
<esriUI:MapView x:Name="MyMapView" />
</Grid>
</ContentPage>