private void Initialize()
{
// Create new Map
Map myMap = new Map();
// Create uri to the map image layer
var serviceUri = new Uri(
"https://sampleserver5.arcgisonline.com/arcgis/rest/services/Elevation/WorldElevations/MapServer");
// Create new image layer from the url
ArcGISMapImageLayer imageLayer = new ArcGISMapImageLayer(serviceUri);
// Add created layer to the basemaps collection
myMap.Basemap.BaseLayers.Add(imageLayer);
// Assign the map to the MapView
MyMapView.Map = myMap;
}
}