Skip to main content

ArcGIS module · ArcGIS vector-tile source

ArcGIS VectorTileServer

Read your ArcGIS vector tile layer as raw MVT or decoded features, then apply the styling and labels your application needs.

ArcGIS VectorTileServer example

Remote data, explicit steps

Discover once. Request only what the application needs.

Service sources keep endpoint metadata, request construction, and decoded results separate. That makes a remote dataset behave like a predictable part of the data path.

01 · discover

ArcGIS REST endpoint

A service directory exposes layers, operations, and formats.

FeatureServerImageServerSceneServer

02 · request

Request the useful subset

Choose features, images, tiles, or scene content for this view.

wherebboxoutFieldssize

03 · application result

VectorSource · ImageSource · Tileset3DSource

The application receives a source contract rather than a vendor-specific client. ↗

The source owns protocol details; the application owns how returned features, pixels, tiles, or tables are used.

What it provides

Keep tile bytes, decoded features, and style metadata connected.

The source exposes the raw PBF payload for low-level consumers and a decoded MVT path for map applications, while preserving ArcGIS’s published grid and style resources.

Metadata

Extent, CRS, LOD grid, and style URLs

Raw

Original vector-tile PBF bytes

Decoded

MVT features in application coordinates

Resources

Styles, sprites, and authentication

Detailed guide

VectorTileServer reference

The sections below cover support, authentication, raw and decoded tiles, styles, and source options.

ArcGIS VectorTileServer endpoints publish Mapbox Vector Tile (MVT) data together with an ArcGIS tile grid, style document, and sprite resources. ArcGISVectorTileServerLoader implements the loaders.gl VectorTileSource contract.

PropertyValue
Data sourceArcGISVectorTileServerSource

Feature support​

CapabilitySupportAPI and behavior
Service metadata✅ SupportedgetMetadata() exposes extent, CRS, LOD grid, style URL, and sprite URL
Raw vector tiles✅ SupportedgetTile() returns the original PBF bytes
Decoded vector tiles✅ SupportedgetVectorTile() decodes MVT through @loaders.gl/tiles/mvt
deck.gl tile data✅ SupportedgetTileData() returns decoded WGS84 feature data
Geometry coordinates⚠️ WGS84Decoded features are transformed from tile-local coordinates for visualization
Layer filtering✅ SupportedForward MVT loader options to select named source layers
Feature shape✅ ConfigurableStandard MVT loader shape options are honored
ArcGIS style discovery✅ SupportedMetadata includes the published root style and sprite resource URLs
Style application⚠️ Application controlledloaders.gl exposes style resources but does not translate the full ArcGIS style into deck props
Authentication✅ SupportedURL tokens and standard fetch options are preserved for all resources
deck.gl rendering✅ First classSourceLayer consumes decoded vector tiles directly

Authentication​

createArcGISCredential applies an exact-origin token to metadata and tile requests made by this source. Explicit URL tokens take precedence. See the authentication guide.

Raw and decoded tiles​

import {createDataSource} from '@loaders.gl/core';
import {ArcGISVectorTileServerLoader} from '@loaders.gl/arcgis/vector-tile-service';

const source = await createDataSource(vectorTileServiceUrl, [ArcGISVectorTileServerLoader]);

const metadata = await source.getMetadata();
const tileBytes = await source.getTile({z: 4, x: 6, y: 7});
const features = await source.getVectorTile({z: 4, x: 6, y: 7});

Use getTile when caching or forwarding the original PBF. Use getVectorTile when an application needs decoded geometries and properties.

Decoder options​

MVT options are forwarded to @loaders.gl/tiles/mvt:

const source = await createDataSource(vectorTileServiceUrl, [ArcGISVectorTileServerLoader], {
mvt: {
shape: 'geojson-table',
layers: ['roads', 'labels']
}
});

deck.gl integration​

import {SourceLayer} from '@loaders.gl/deck-layers';
import {ARCGIS_LOADERS} from '@loaders.gl/arcgis/discovery';

const layer = new SourceLayer({
id: 'arcgis-vector-tiles',
data: vectorTileServiceUrl,
loaders: ARCGIS_LOADERS,
extent: [-180, -85.051129, 180, 85.051129],
pickable: true
});

The ArcGIS style URL remains available in source metadata for applications that want to translate or selectively reuse the service's authored style.

References​

TileMatrix metadata​

getMetadata().tileGrid.matrices preserves each advertised LOD identifier, resolution, origin, and rectangular tile size. Matrix dimensions are not inferred from service coverage, so ArcGIS grids remain partial and do not expose complete tileMatrixSet geometry. The grid retains CRS authority identifiers, preferring latestWkid; known Web Mercator aliases normalize to EPSG:3857.

After metadata loads, cached-tile URL methods select an exact tileMatrix identifier, otherwise the identifier equal to z, then the level at index z. Unknown identifiers fail. Before metadata is available, numeric z and explicit identifiers pass through. Use tileMatrix for noncontiguous service levels.

This metadata does not add projected rendering or reprojection. Dynamic MapServer export remains an XYZ Web Mercator operation. Vector geographic decoding requires a matching XYZ zoom; use raw getTile() for native matrix bytes when the requested identifier differs from z.

See Tile matrices and tile matrix sets.