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.UWP.Samples.FeatureLayerGeoPackage.FeatureLayerGeoPackage"
    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" >
    <esriUI:MapView x:Name="MyMapView" />
</UserControl>


In this topic
  1. Instructions
  2. Code