You can use different types of data layers to access and display different types of data in your applications. Data layers can access ArcGIS data sources and other types of data sources such as OGC data and files.
Different data layers provide different types of functionality. The functionality available is largely dependent on the capabilities of the data source. For example, a feature layer can access a feature service and perform queries, edits, and data export, whereas a vector tile layer can only access tiles from a vector tile service.
The
AGSLayer
class is the base class for all types of layers used in ArcGIS Runtime. The type of layer you create depends on the type of data you want to display. To display feature data (point, line, or polygon geometry), for example, you can create a
AGSFeatureLayer
that points to an online service (such as a feature service) or a supported local dataset. The tables below summarizes common types of layers available for your ArcGIS Runtime app.
ArcGIS data layers
The following layers work with ArcGIS data sources.
Layer | Data type | Display | Query | Edit | Offline | Data sources |
---|---|---|---|---|---|---|
AGSAnnotationLayer
| Feature | 2D | True | True | True | Feature service |
AGSArcGISMapImageLayer
| Image | 2D/3D | False | False | True | Map service (Offline requires local server) |
AGSArcGISSceneLayer
| I3S | 3D | False | False | True | Scene service |
AGSArcGISTiledLayer
| Image Tile | 2D/3D | False | False | True | Tile service, tile package (.tpk/.tpkx) |
AGSArcGISVectorTiledLayer
| Vector Tile | 2D/3D | False | False | True | Vector tile service, vector tile package (.vtpk) |
AGSFeatureCollectionLayer
| Feature | 2D/3D | True | True | True | Portal item, web map, feature set / query result |
AGSFeatureLayer
| Feature | 2D/3D | True | True | True | • Online sources: — AGSOgcFeatureCollectionTable
— AGSServiceFeatureTable
— AGSWfsFeatureTable
• Offline sources: — AGSGeodatabaseFeatureTable
— AGSGeoPackageFeatureTable
— AGSShapefileFeatureTable
|
AGSIntegratedMeshLayer
| I3S | 3D | False | False | True | Scene service, mobile scene package |
AGSPointCloudLayer
| I3S | 3D | False | False | True | Scene service, mobile scene package |
AGSRasterLayer
| Raster | 2D/3D | False | False | True | • Raster files - path to a file on the device, see AGSRaster
Class. • Remote ArcGIS Image services, see AGSImageServiceRaster
. • Raster files within GeoPackages, see AGSGeoPackageRaster
. • Mosaic datasets, see AGSMosaicDatasetRaster
. |
OGC data layers
The following layers work with OGC data sources.
Layer | Data type | Display | Query | Edit | Offline | Data sources |
---|---|---|---|---|---|---|
AGSFeatureLayer
| Feature | 2D/3D | True | True | True | WFS, GeoPackage |
AGSRasterLayer
| Raster | 2D/3D | True | False | True | GeoPackage |
AGSKMLLayer
| Feature/Image | 2D/3D | True | True | True | KML file (.kml, .kmz) |
AGSWMSLayer
| Image | 2D/3D | False | False | False | WMS service |
AGSWMTSLayer
| Image Tile | 2D/3D | False | False | False | WMTS service |
Other data layers
The following layers work with non-ArcGIS data sources.
Layer | Data type | Display | Query | Edit | Offline | Data sources |
---|---|---|---|---|---|---|
AGSOpenStreetMapLayer
| Image Tile | 2D/3D | False | False | True | OpenStreetMap (OSM) image tile service |
AGSArcGISVectorTiledLayer
| Vector Tile | 2D/3D | False | False | False | Vector tile service (Mapbox specification) |
AGSWebTiledLayer
| Image Tile | 2D/3D | False | False | False | {level},{row},{col} Image tile service |
AGSRasterLayer
| Raster | 2D/3D | False | False | False | Raster files e.g. GeoTiff, Mr. Sid |
AGSENCLayer
| Binary (SENC) | 2D | False | False | True | ENC exchange set |
AGSBingMapsLayer
| Image Tile | 2D/3D | False | False | False | Bing maps service |