This documentation is for ArcGIS REST JS 3.x which is no longer maintained. For the latest 4.x documentation see ArcGIS REST JS on the ArcGIS Developer website.



a spatial entity and its corresponding properties

IFeature can also be imported from the following packages:

import { IFeature } from "@esri/arcgis-rest-feature-layer";
import { IFeature } from "@esri/arcgis-rest-routing";


Property Type Notes
attributes [key: string]: any
geometry Optional IGeometry
symbol Optional ISymbol

Interface defined in packages/arcgis-rest-types/src/feature.ts:18