Layer types

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.

LayerData typeDisplayQueryEditOfflineData sources
AGSAnnotationLayerFeature2DTrueTrueTrueFeature service
AGSArcGISMapImageLayerImage2D/3DFalseFalseTrueMap service (Offline requires local server)
AGSArcGISSceneLayerI3S3DFalseFalseTrueScene service
AGSArcGISTiledLayerImage Tile2D/3DFalseFalseTrueTile service, tile package (.tpk/.tpkx)
AGSArcGISVectorTiledLayerVector Tile2DFalseFalseTrueVector tile service, vector tile package (.vtpk)
AGSFeatureCollectionLayerFeature2D/3DTrueTrueTruePortal item, web map, feature set / query result
AGSFeatureLayerFeature2D/3DTrueTrueTrue  Online sources:
    AGSOgcFeatureCollectionTable
    AGSServiceFeatureTable
    AGSWfsFeatureTable
  Offline sources:
    AGSGeodatabaseFeatureTable
    AGSGeoPackageFeatureTable
    AGSShapefileFeatureTable
AGSIntegratedMeshLayerI3S3DFalseFalseTrueScene service, mobile scene package
AGSPointCloudLayerI3S3DFalseFalseTrueScene service, mobile scene package
AGSRasterLayerRaster2D/3DFalseFalseTrue  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.

LayerData typeDisplayQueryEditOfflineData sources
AGSFeatureLayerFeature2D/3DTrueTrueTrueWFS, GeoPackage
AGSRasterLayerRaster2D/3DTrueFalseTrueGeoPackage
AGSKMLLayerFeature/Image2D/3DTrueTrueTrueKML file (.kml, .kmz)
AGSWMSLayerImage2D/3DFalseFalseFalseWMS service
AGSWMTSLayerImage Tile2D/3DFalseFalseFalseWMTS service

Other data layers

The following layers work with non-ArcGIS data sources.

LayerData typeDisplayQueryEditOfflineData sources
AGSOpenStreetMapLayerVector Tile2D/3DFalseFalseTrueOSM Vector tile service
AGSArcGISVectorTiledLayerVector Tile2DFalseFalseFalseVector tile service (Mapbox specification)
AGSWebTiledLayerImage Tile2D/3DFalseFalseFalse{level},{row},{col} Image tile service
AGSRasterLayerRaster2D/3DFalseFalseFalseRaster files e.g. GeoTiff, Mr. Sid
AGSENCLayerBinary (SENC)2DFalseFalseTrueENC exchange set
AGSBingMapsLayerImage Tile2D/3DFalseFalseFalseBing maps service

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.