interface IdentifyOptions {
    cancelToken?: CancelToken;
    maxAllowableOffset?: number;
    maxResults?: number;
    onSourceComplete?: ((result: TaskResult) => void);
    outFields?: string[];
    outSpatialReference?: SpatialReference;
    returnGeometry?: boolean;
    tolerance?: number;
}

Properties

cancelToken?: CancelToken

An optional cancel token from a support/Cancellable!Cancellable that can be used to cancel the search.

maxAllowableOffset?: number

The maximum allowable offset used for generalizing geometries returned by the query operation.

maxResults?: number

The maximum number of results to return.

onSourceComplete?: ((result: TaskResult) => void)

An optional callback that will be invoked with additional information about the tasks's result for each source.

outFields?: string[]

List of fields that should be returned that overrides the default out fields.

outSpatialReference?: SpatialReference

The spatial reference for the returned geometry.

returnGeometry?: boolean

Whether geometry for features should be returned.

tolerance?: number

The distance in meters to buffer any geometries used in 2D identify operations.