Taos API Reference
    Preparing search index...

    Interface XyzImageryOptions

    Options for xyzImagery, a generic {z}/{x}/{y} slippy-map source.

    interface XyzImageryOptions {
        label: string;
        attribution: string;
        template: string;
        maxZoom?: number;
        tileSize?: number;
        subdomains?: string[];
    }
    Index

    Properties

    label: string
    attribution: string
    template: string

    URL template with {z}/{x}/{y} placeholders (and optional {s} subdomain).

    maxZoom?: number

    Deepest native zoom. Default 19.

    tileSize?: number

    Tile edge in px. Default 256.

    subdomains?: string[]

    Host shards cycled through {s} (spreads load; deterministic per tile so the browser/persistent cache still hits).