Open Pioneer Trails Packages
    Preparing search index...

    Interface SelectionOptions

    Options passed to a SelectionSource when triggering a select.

    interface SelectionOptions {
        mapProjection: Projection;
        maxResults: number;
        signal: AbortSignal;
    }
    Index

    Properties

    mapProjection: Projection

    The current projection of the map. Useful to return the selection result's geometry in the suitable projection, should they differ.

    maxResults: number

    The maximum number of selection results to request. The selection component currently only supports a certain amount of results (indicated by this value). If a source results more than maxResults results, additional results will be ignored.

    signal: AbortSignal

    The signal can be used to detect cancellation.

    You can pass this signal to builtin functions like fetch that automatically support cancellation.