Taos API Reference
    Preparing search index...

    Interface RasterDemOptions

    Options for a RasterDemSource.

    interface RasterDemOptions {
        label: string;
        attribution: string;
        template: string;
        encoding: DemEncoding;
        minZoom?: number;
        maxZoom?: number;
        subdomains?: string[];
    }
    Index

    Properties

    label: string
    attribution: string
    template: string

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

    encoding: DemEncoding
    minZoom?: number

    Shallowest zoom that has tiles. Default 0.

    maxZoom?: number

    Deepest zoom that has tiles (deeper refinement stops here). Default 15.

    subdomains?: string[]

    Host shards cycled through {s} (deterministic per tile, cache-friendly).