Open a shapefile stored on the device and display it as a feature layer with default symbology.
Use case
Shapefiles store location, shape and attributes of geospatial vector data. Shapefiles can be loaded directly into your app using the ArcGIS Maps SDK for Qt.
How to use the sample
Pan and zoom around the map. View the data loaded from the shapefile.
How it works
Create a ShapefileFeatureTable passing in the URL of a shapefile.
Create a FeatureLayer using the shapefile feature table.
Add the layer to the map's operation layers.
Relevant API
FeatureLayer
ShapefileFeatureTable
Offline data
Read more about how to set up the sample's offline data here.