Raster layer (file)

This sample demonstrates how to use a raster layer created from a local raster file.

Raster layer from a file data source

Instructions

The raster file is downloaded by the sample viewer automatically.

Code

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage 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"
    x:Class="ArcGISRuntimeXamarin.Samples.RasterLayerFile.RasterLayerFile"
             Title="Raster layer (file)">

    <Grid>
        <esriUI:MapView x:Name="MyMapView"/>
    </Grid>
</ContentPage>


In this topic
  1. Instructions
  2. Code