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

<UserControl x:Class="ArcGISRuntime.WPF.Samples.RasterLayerFile.RasterLayerFile"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
    <Grid>
        <esri:MapView x:Name="MyMapView" />
    </Grid>
</UserControl>


In this topic
  1. Instructions
  2. Code