This sample demonstrates how to open a GeoPackage file from the local file system and list the available GeoPackageRasters and GeoPackageFeatureTables from the GeoPackage. Users can add and remove the selected datasets as RasterLayers or FeatureLayers to the map.
Click on the layer name in the 'Layers Not in the Map' ListView to add it to the map. Conversely to remove a layer from the map click on a layer name in the 'Layers in the Map' ListView. NOTE: The GeoPackage will be downloaded from an ArcGIS Online portal automatically.