Feature layer (GeoPackage)

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

Feature layer from a GeoPackage dataset

Instructions

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

Code

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