Show / Hide Table of Contents

Class ArcGISVectorTiledLayer

A class that allows you to display data from an AcrGIS Vector Tile data source.

Inheritance
Object
Layer
ArcGISVectorTiledLayer
Implements
INotifyPropertyChanged
ILoadable
ILayerContent
IApiKeyResource
Layer.LoadAsync()
Layer.CancelLoad()
Layer.RetryLoadAsync()
Layer.LoadStatus
Layer.LoadError
Layer.Item
Layer.Attribution
Layer.Description
Layer.MaxScale
Layer.MinScale
Layer.SpatialReference
Layer.Opacity
Layer.Id
Layer.FullExtent
Layer.Clone()
Layer.CanChangeVisibility
Layer.IsVisible
Layer.IsIdentifyEnabled
Layer.Name
Layer.ShowInLegend
Layer.SublayerContents
Layer.GetLegendInfosAsync()
Layer.IsVisibleAtScale(Double)
Layer.PropertyChanged
Layer.OnPropertyChanged(String)
Layer.Loaded
Layer.LoadStatusChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 null if no vector tile cache is present.

See Also

Layer

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0
In This Article
Back to top Copyright © 2022 Esri.