@camptocamp/inkmap
    Preparing search index...

    Interface VectorTileLayer

    interface VectorTileLayer {
        attribution?: string;
        declutter?: boolean;
        fontCallback?: Function;
        layers?: string | string[];
        legend?: boolean;
        maxZoom?: number;
        minZoom?: number;
        opacity: number;
        renderMode?: "vector" | "image" | "hybrid";
        style?: any;
        styleUrl?: string;
        type: "VectorTile";
        url?: string;
    }
    Index

    Properties

    attribution?: string

    Attribution for the data used in the layer.

    declutter?: boolean

    Whether to declutter labels and symbols.

    fontCallback?: Function

    Function to replace font families in the style.

    layers?: string | string[]

    Specific layers within the style to use. If undefined all layers are used.

    legend?: boolean

    Whether a legend should be created for this layer.

    maxZoom?: number

    Maximum zoom level for the layer.

    minZoom?: number

    Minimum zoom level for the layer.

    opacity: number

    Opacity, from 0 (hidden) to 1 (visible).

    renderMode?: "vector" | "image" | "hybrid"

    Render mode for the layer.

    style?: any

    Vector style (will be used if no styleUrl is provided).

    styleUrl?: string

    URL to the Mapbox GL style JSON.

    type: "VectorTile"
    url?: string

    URL template for the vector tiles; should contain the following tokens: {z}, {x}, and {y} (will be used if no styleUrl is provided).