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";
interface IFeature {
    attributes: {
        [key: string]: any;
    };
    geometry?: IGeometry;
    symbol?: ISymbol;
}

Properties

attributes: {
    [key: string]: any;
}

Type declaration

  • [key: string]: any
geometry?: IGeometry
symbol?: ISymbol