@nativescript-community/ui-massifmaps
    Preparing search index...

    Interface SearchSpec_vectortile_layer

    A vector tile search over a layer that is already on the map.

    The constructor takes a source and a decoder; this takes the LAYER and reads both off it, so a search reads exactly what the user is looking at and neither is built twice.

    interface SearchSpec_vectortile_layer {
        layer: string | Handle<any> | LayerSpec;
        layers?: string[];
        maxResults?: number;
        maxZoom?: number;
        minZoom?: number;
        preventDuplicates?: boolean;
        sortByDistance?: boolean;
        type: "vectortile";
    }
    Index

    Properties

    layer: string | Handle<any> | LayerSpec

    The vector tile layer to search - its data source and its tile decoder are taken from it.

    layers?: string[]

    Returns the layers to filter while decoding tiles.

    maxResults?: number

    Returns the maximum number of results the search service returns.

    maxZoom?: number

    Returns the maximum zoom level of vector tiles used. By default the maximum zoom level is specified by data source.

    minZoom?: number

    Returns the minimum zoom level of vector tiles used. By default the minimum zoom level is specified by data source and is usually 0.

    preventDuplicates?: boolean

    Returns wether to prevent duplicate elements

    sortByDistance?: boolean

    Returns wether result features are sorted by distance

    type: "vectortile"