Raster layer (GeoPackage)

This sample demonstrates how to open a GeoPackage and show a GeoPackage raster in a raster layer.

Raster layer from a GeoPackage dataset

Instructions

The GeoPackage will be downloaded from an ArcGIS Online portal automatically.

Code

<UserControl 
    x:Class="ArcGISRuntime.WPF.Samples.RasterLayerGeoPackage.RasterLayerGeoPackage"
    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