Interface MapSelectNgwLayerDistinctOptions<P>

interface MapSelectNgwLayerDistinctOptions<P> {
    cache?: boolean;
    clientFilterValidate?: boolean;
    connector: default;
    extensions?:
        | null
        | false
        | string[]
        | (keyof FeatureItemExtensions)[];
    fields: (keyof P)[];
    filters?: PropertiesFilter<PropertiesForNgwFilter<P>>;
    geom?: boolean;
    geomFormat?: GeomFormat;
    ilike?: string;
    intersects?: string | LngLatBoundsArray | LngLatArray[];
    like?: string;
    limit?: number;
    offset?: number;
    orderBy?: (string | keyof P)[];
    paramList?: [string, any][];
    query?: any;
    resourceId: string | number;
    signal?: null | AbortSignal;
    srs?: number;
    strategy?: "BBOX" | "BBOX+";
}

Type Parameters

Hierarchy (view full)

Properties

cache?: boolean
clientFilterValidate?: boolean
connector: default
extensions?:
    | null
    | false
    | string[]
    | (keyof FeatureItemExtensions)[]
fields: (keyof P)[]
geom?: boolean
geomFormat?: GeomFormat
ilike?: string
intersects?: string | LngLatBoundsArray | LngLatArray[]

WKT polygon geometry

like?: string
limit?: number

Limit (paginated) - max number of entities should be taken.

offset?: number

Offset (paginated) where from entities should be taken.

orderBy?: (string | keyof P)[]

set fields for order

TODO: use typescript 4.1 template string type for map -${field}

{ "orderBy": ["field1", "-field2"] }
paramList?: [string, any][]

use NgwRequestOptions.query instead

query?: any
resourceId: string | number
signal?: null | AbortSignal

An AbortSignal to set request's signal.

srs?: number
strategy?: "BBOX" | "BBOX+"