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.UWP.Samples.RasterLayerFile.RasterLayerFile"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls">
    <Grid>
        <esriUI:MapView x:Name="MyMapView"/>
    </Grid>
</UserControl>


In this topic
  1. Instructions
  2. Code