Introduction to vector tile services

Vector tile service of the world with outdoor styles

What is a vector tile service?

A vector tile service is a data service that provides access to vector tile data. Vector tiles contain style and attribute information. A vector tile service is created (published) from an existing hosted feature layer. Each service is composed of one tiled dataset and does not contain multiple layers like feature services. The tiles are a "snapshot" of the features in the feature layer. If the features in the original feature layer change, the vector tile layer needs to be regenerated to match. The symbols and renderer from a feature layer are used to define the styles for the vector tiles. If the input feature layer contains attributes, the fields and values can also be stored with the vector tile data. The style for a vector tile layer adheres to the Mapbox Style specification.

Vector tile services are typically used to take advantage of GPU rendering in a browser to display large amounts of features in mapping applications.

What can you do with a vector tile service?

You use a vector tile service when you want to:

  • Publish a vector tile service from a feature layer in feature service.
  • Store and access data as pre-cached (static) vector tiles in PFB format.
  • Provide styles for tiles that are rendered on the client and can be re-styled.
  • Support high-resolution GPU rendering on different devices.
  • Create and use your own basemap layer styles with the ArcGIS Vector Tile Style Editor.
  • Optimize accessing and displaying large amounts of data as tiles.
  • Use vector tile data in offline applications.

What does the service URL look like?

When you publish a new vector tile service, the URL is created by the system. To find the URL you can use the hosted vector tile layer item in the portal associated with your ArcGIS account.

The service URL format to access the style is:

Use dark colors for code blocksCopy
1
https://{host}/{organizationId}/arcgis/rest/services/{serviceName}/VectorTileServer/resources/styles/root.json

Example: https://vectortileservices3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Santa_Monica_Mountains_Parcels_VTL/VectorTileServer/resources/styles/root.json

The service URL format to access the vector tiles is:

Use dark colors for code blocksCopy
1
https://{host}/{organizationId}/arcgis/rest/services/{serviceName}/VectorTileServer/tile/{z}/{y}/{x}.pbf

Example: https://vectortileservices3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Santa_Monica_Mountains_Parcels_VTL/VectorTileServer/tile/12/1635/695.pbf

Tutorials

Add a vector tile layer

Access and display a vector tile layer in a map.


Add a map tile layer

Access and display a map tile layer in a map.


Query a feature layer (spatial)

Execute a spatial query to get features from a feature layer.


Edit feature data

Add, update, and delete features in a feature service.


Display a popup

Format a popup to show attributes in a feature layer.


Workflows

Services

Feature service

Add, update, delete, and query feature data.


Vector tile service

Store and access vector tile data.


Map tile service

Store and access map tile data.

API support

Use data management tools or Client APIs to create, manage, and access data services. The table below outlines the level of support for each API.

CreateManageAccess
ArcGIS Maps SDK for JavaScript1
ArcGIS Maps SDK for Kotlin1
ArcGIS Maps SDK for Swift1
ArcGIS Maps SDK for Java1
ArcGIS Maps SDK for .NET1
ArcGIS Maps SDK for Qt1
ArcGIS API for Python
ArcGIS REST JS
Esri Leaflet2
MapLibre GL JS23
OpenLayers23
Full supportPartial supportNo support
  • 1. Use portal class and direct REST API requests
  • 2. Access via ArcGIS REST JS
  • 3. Requires manually setting styles for renderers

Tools

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