Open a shapefile stored on the device and display it as a feature layer with default symbology.
Shapefiles store location, shape and attributes of geospatial vector data. Shapefiles can be loaded directly into ArcGIS Runtime.
Pan and zoom around the map to observe the data from the shapefile.
- 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.
- FeatureLayer
- ShapefileFeatureTable
This sample downloads the following items from ArcGIS Online automatically:
- Public Art Shapefile - Shapefiles that cover Aurora Colorado: Public art (points), Bike trails (lines), and Subdivisions (polygons).
layers, shapefile, shp, vector