Skip to content
GuidesToolkitAPI

VectorTileFeature

VectorTileFeature = object

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:533

One hit on a <VectorTileLayer>. Mirrors the native VectorTileFeature, which ArcGIS 300.1 added along with identify support for vector tiled layers.

A vector tile carries no object ids or feature service schema, so this is not a Feature: it reports the style layer that drew it and the attributes baked into the tile.

attributes: Record<string, unknown>

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:539


geometry: Geometry | null

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:541

The SDK only returns geometry for point-based features; null for line and fill.


id: number | null

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:535

Feature id within the tile. null when the tile carries none (Android only — iOS reports 0).


styleLayerId: string

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:537

Id of the style layer that drew the feature, as named in the vector tile style.


styleLayerType: VectorTileStyleLayerType

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:538