FeatureQueryRequest
What FeatureQuery needs.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { FeatureQueryRequest } from "@mapcairn/core";
interface FeatureQueryRequest
Properties
area
readonly area: QueryArea;
Where to look.
layerIds
readonly layerIds: readonly string[];
The layers to look in, and no others. Empty asks about nothing.
limit
readonly limit: number;
The most hits to return, a whole number of at least 1. A caller that has
room for n more asks for n + 1, so that n + 1 hits back tell it that
more lie inside, and the host can stop looking once it has them.
signal
readonly signal?: AbortSignal;
Cancels the query. It then rejects with an aborted error.