Options to init a SelectionTrigger.

interface SelectionTriggerOptions {
    actionId?: string;
    actionOptions?: Record<string, Record<string, any>>;
    replaceExistingSelection?: boolean;
    searchAllSources?: boolean;
    sourceIds?: string[];
}

Properties

actionId?: string

Currently selected spatial input action.

actionOptions?: Record<string, Record<string, any>>

Action options.

{ rectangle: { ... }}
replaceExistingSelection?: boolean

Flag to signal whether the selection receiver should replace the last selection state (if set to true) or try to add it (if set to false). If set to undefined the default behavior of the receiver should be used.

searchAllSources?: boolean

Flag to signal whether all stores should be searched. If true the sourceIds list is ignored.

sourceIds?: string[]

Ids of stores to search.