Interface QueryOptions

interface QueryOptions {
    buffer?: number;
    intersects?: boolean;
    limit?: number;
    onlyVisible?: boolean;
    resolution?: number;
    timeout?: number;
}

Properties

buffer?: number

Buffer in meters (NOTE: will only work with the default dwithin filter operator)

intersects?: boolean

Use intersects filter operator instead of the default dwithin

limit?: number

Limit the number of features returned

onlyVisible?: boolean

Query only visible datasets

false - default is to query all datasets

resolution?: number

The resolution of the current map. This is used to only query datasets that are visible in the current resolution. If not added, the min-/maxresolution on the dataset, is not used when queying

timeout?: number

Timeout in ms. Default is 60000