Optional ReadonlyidThe id of this source.
Must be unique across all selection sources used within the same selection component.
The id must not change while the source is in use (this value is not reactive). If no id is defined, the selection component generates one internally.
ReadonlylabelThe label of this source.
This will be displayed by the user interface during selection source selection.
ReadonlystatusThe optional status of this source. If there is no status defined, it is assumed that the source is always available.
This will be displayed by the user interface.
This value can be reactive; changes will be reflected in the UI.
Performs a selection and returns a list of selection results.
Implementations should return the results ordered by priority (best match first), if possible.
The provided AbortSignal in options.signal is used to cancel outdated requests.
NOTE: If your selection source implements custom error handling (i.e. try/catch), it is
good practice to forward abort errors without modification. This will enable the selection
widget to differentiate real errors from cancellations.
The geometry with which to perform the spatial selection. Currently only an extent is supported.
see interface documentation SelectionOptions
An object that allows spatial selection.
Developers can create classes that implement this interface for different selection sources.