@kayahr/etchmap
    Preparing search index...

    Interface TileSource

    Configuration of an XYZ raster-tile source.

    interface TileSource {
        attribution?: string;
        coverage?: TileCoverage;
        crossOrigin?: TileCrossOrigin;
        maxZoom?: number;
        minZoom?: number;
        projection?: Projection;
        rootColumns?: number;
        rootRows?: number;
        tileHeight?: number;
        tileURL: TileURL;
        tileWidth?: number;
        wrapX?: boolean;
    }
    Index
    attribution?: string

    Trusted HTML displayed as source attribution. Empty or omitted HTML hides the attribution.

    coverage?: TileCoverage

    Rectangular part of the normalized tile world for which tiles are available. Defaults to the complete tile world from zero through one on both axes. Edge tiles only need to intersect the coverage and may therefore extend beyond it.

    crossOrigin?: TileCrossOrigin

    Cross-origin mode used when loading tile images. Defaults to anonymous.

    maxZoom?: number

    Highest available integer tile zoom. Defaults to 19.

    minZoom?: number

    Lowest available integer tile zoom. Defaults to zero.

    projection?: Projection

    Mapping between source coordinates and normalized tile-world coordinates. Defaults to Web Mercator.

    rootColumns?: number

    Number of tile columns at the minimum zoom level. Defaults to one.

    rootRows?: number

    Number of tile rows at the minimum zoom level. Defaults to one.

    tileHeight?: number

    Logical height of one tile in CSS pixels. Defaults to 256.

    tileURL: TileURL

    URL template or function used to load a tile. See TileURL for the supported template variables.

    tileWidth?: number

    Logical width of one tile in CSS pixels. Defaults to 256.

    wrapX?: boolean

    Whether the tile grid repeats horizontally. Defaults to false for custom sources.