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.
- 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:
- Aurora_CO_shp.zip - Shapefiles that cover Aurora Colorado: Public art (points), Bike trails (lines), and Subdivisions (polygons).
Layers, shapefile, shp, vector