Skip To Content ArcGIS for Developers Sign In Dashboard

ArcGISVectorTiledLayer QML Type

A vector tiled layer. More...

Import Statement: import Esri.ArcGISRuntime 100.8
Since: Esri.ArcGISRuntime 100.0




Detailed Description

ArcGIS vector tiled layers are much like ArcGIS tiled layers. They are a layer in the map loaded from ArcGIS Online, ArcGIS Enterprise, 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 2-D 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, since 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 URL or a portal item. The URL 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 URL to a vector tile style sheet. The style sheet describes the appearance of the geometry and must be in the Mapbox GL Style format. The style sheet also contains a URL to a vector tile source. The source must be in the Mapbox TileJSON format. The vector tile source info includes a URL to a default style sheet.

More than one vector tile style sheet can use the same source. Both the vector tile source info and the style sheet are persisted as human readable JSON files.

You can download vector tile packages from an 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 can also be downloaded using an ExportVectorTilesTask which will produce a VectorTileCache which can be used to instantiate the layer. The same task can also create an ItemResourceCache which stores style resources of the vector tile package. The resource cache can be used with the VectorTileCachce to create an ArcGISVectorTiledLayer with a certain style.

An ArcGISVectorTiledLayer can be created from a portal item, a URL, or a VectorTileCache. You should not assign more than one property when creating an instance of this type.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
RequestConfigurationrequestConfiguration (since Esri.ArcGISRuntime 100.1)
VectorTileCachevectorTileCache (since Esri.ArcGISRuntime 100.2)
ItemResourceCacheitemResourceCache (since Esri.ArcGISRuntime 100.2)


Display the Navigation vector tile layer by using an online service:

// Create MapView that contains a Map
MapView {
    id: mapview
    anchors.fill: parent
    Map {
        id: map
        Basemap {
            // Nest an ArcGISVectorTiledLayer Layer in the Basemap
            ArcGISVectorTiledLayer {
                url: ""
        initialViewpoint: ViewpointCenter {
            center: Point { x:-80.18; y: 25.778135; spatialReference: SpatialReference { wkid: 4326 } }
            targetScale: 150000

Alternatively, you can display vector tiles offline by setting the file path to a local vector tile package (*.vtpk):

// create a basemap from a local vector tile package
Basemap {
    ArcGISVectorTiledLayer {
        url: dataPath + "vtpk/LosAngeles.vtpk"

See also Cancelable, LayerContent, Loadable, and RemoteResource.

Property Documentation

[default] credential : Credential

The credential used to access the source of this layer.

[default] item : ArcGISItem

The item used to initialize the layer.

The item cannot be changed after the layer is loaded.

itemResourceCache : ItemResourceCache

The item resource cache containing style resources for this layer.

This QML property was introduced in Esri.ArcGISRuntime 100.2.

[default] requestConfiguration : RequestConfiguration

The configuration parameters used for network requests sent by this layer.

This QML property was introduced in Esri.ArcGISRuntime 100.1.

sourceInfo : VectorTileSourceInfo

Returns information about the vector tile layer's source (read-only).

The returned VectorTileSource includes name, extent, visible scale, and so on.

style : VectorTileStyle

Returns information about the style sheet used with this vector tiled layer (read-only).

The returned VectorTileStyle includes the style sheet's URL, version, and so on.

url : url

The URL to the source of this layer.

vectorTileCache : VectorTileCache

The vector tile cache of this layer.

This QML property was introduced in Esri.ArcGISRuntime 100.2.

Signal Documentation


Emitted when the credential property changes.


Emitted when the itemResourceCache property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.2.


Emitted when the requestConfiguration property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.1.


Emitted when the sourceInfo property changes.


Emitted when the style property changes.


Emitted when the url property changes.


Emitted when the vectorTileCache property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.2.

Feedback on this topic?