Skip to content

Files

Latest commit

 

History

History
30 lines (17 loc) · 912 Bytes

File metadata and controls

30 lines (17 loc) · 912 Bytes

Feature layer (shapefile)

Open a shapefile stored on the device and display it as a feature layer with default symbology.

screenshot

Use case

Shapefiles store location, shape and attributes of geospatial vector data. Shapefiles can be loaded directly into ArcGIS Runtime.

How it works

  1. Create a ShapefileFeatureTable passing in the URL of a shapefile.
  2. Create a FeatureLayer using the shapefile feature table.
  3. Add the layer to the map's operation layers.

Relevant API

  • FeatureLayer
  • ShapefileFeatureTable

Offline data

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).

Tags

Layers, shapefile, shp, vector