Class ArcGISVectorTiledLayer
A class that allows you to display data from an AcrGIS Vector Tile data source.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISVectorTiledLayer : Layer, INotifyPropertyChanged, ILoadable, ILayerContent, IApiKeyResource
Remarks
The ArcGIS Vector Tiled Layer is similar to the ArcGIS Tiled Layer. An ArcGIS Vector Tiled Layer is loaded from ArcGIS online, ArcGIS Enterprise, ArcGIS Server, or a local vector tile layer package file. The tile data format is optimized to reduce network bandwidth and reduce CPU load while rendering the tiles. Vector Tiled Layers are appropriate for basemap, reference and possibly operational layers. They do not contain any feature data, and do not support identify or search operations.
Vector tiles are an alternative to raster tile basemap layers. Instead of pixels, the cartography is delivered using 2D points. The points describe lines, polygons or the locations of labels and marker symbols. The file format of tiles is binary and conforms to the Mapbox Vector Tile Specification. The vector tile file format requires much less space than raster tiles. Also, because the cartography is rendered at runtime, the differences between levels of detail appear more continuous than with raster tiles.
To create a vector tiled layer, the runtime client is given either a URI or a portal item. The URI can point to a vector tile source, a vector tile style sheet, or a local vector tile package file. The portal item will contain a URI to a vector tile stylesheet. The style sheet describes the appearance of the geometry and must be in the Mapbox GL Style format. The style sheet also contains a URI to a vector tile source. The source must be in the Mapbox TileJSON format. The source info includes a URI to a default style sheet.
More than one vector tile style sheet can use the same source. Both the source info and the style sheet are human readable JSON files.
Vector tile packages can also be downloaded from a ArcGIS Online vector tile service. The vector tile package is a single file (.vptk) that contains all of the tile data files, the source information, a style sheet, and the font and symbol marker resources required to display the map.
Vector tile packages are also distributed inside Mobile Map Packages. The MMPK contains JSON that points to the location of the vector tile style sheet or the root of the vector tile package data.
Constructors
Name | Description |
---|---|
ArcGISVectorTiledLayer(VectorTileCache) | Initializes a new instance of the ArcGISVectorTiledLayer class from the specified VectorTileCache. |
ArcGISVectorTiledLayer(VectorTileCache, ItemResourceCache) | Initializes a new instance of the ArcGISVectorTiledLayer class from the specified VectorTileCache and ItemResourceCache. |
ArcGISVectorTiledLayer(Item) | Initializes a new instance of the ArcGISVectorTiledLayer class from the specified Item. |
ArcGISVectorTiledLayer(Uri) | Initializes a new instance of the ArcGISVectorTiledLayer class from the specified URI. |
Properties
Name | Description |
---|---|
ApiKey | Gets or sets the unique key generated from ArcGIS Developers website. |
ItemResourceCache | Gets the item resource cache of a vector tiled layer. This should contain a custom style to apply to the vector tiles in this layer. |
Source | Gets or sets the endpoint of the vector tiled map service or the path to a vector tile package. |
SourceInfo | Gets the VectorTileSourceInfo metadata. |
Style | Gets the VectorTileStyle. |
VectorTileCache | Gets the underlying VectorTileCache or |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |