SDK JS
    Preparing search index...

    Interface EsriElevationService

    A validated Esri elevation service ready to drive a MapLibre raster-dem source. Construction asserts the invariants the no-reprojection bridge depends on: Web Mercator (3857), single-band F32, LERC, standard XYZ origin.

    interface EsriElevationService {
        attribution?: string;
        bandCount: number;
        bounds: readonly [number, number, number, number];
        cached: boolean;
        canExport: boolean;
        format: "lerc";
        fullExtent: { xmax: number; xmin: number; ymax: number; ymin: number };
        lercError?: number;
        maxzoom: number;
        minzoom: number;
        pixelType: "F32";
        tileSize: 256 | 512;
        url: string;
    }
    Index

    Properties

    attribution?: string

    Attribution to display — the service's copyrightText, HTML-escaped (falls back to "Esri" for Esri-hosted services that omit it). Fed to the MapLibre source so the AttributionControl shows it; that control renders with innerHTML, so this remote string is escaped at the source. Put it in the DOM as HTML (not textContent) if you display it yourself.

    bandCount: number

    Band count — always 1 (single-band elevation).

    bounds: readonly [number, number, number, number]

    Dataset coverage as [west, south, east, north] in lng/lat degrees — for the source spec bounds.

    cached: boolean

    true for singleFusedMapCache services: fetch cached /tile/{z}/{y}/{x}.

    canExport: boolean

    true when the service supports the dynamic exportImage operation (fallback for non-cached).

    format: "lerc"

    Tile encoding — always 'lerc'.

    fullExtent: { xmax: number; xmin: number; ymax: number; ymin: number }

    Dataset coverage in 3857 metres.

    lercError?: number

    Max compression error in metres, when the service reports one.

    maxzoom: number

    Maximum zoom the dataset serves (from maxLOD or the lods range).

    minzoom: number

    Minimum zoom the dataset serves (from minLOD or the lods range).

    pixelType: "F32"

    Sample type — always 'F32' (single-band float elevation).

    tileSize: 256 | 512

    Tile pixel size (square): 256 or 512.

    url: string

    Normalized service URL (no trailing slash, no query).