Taos API Reference
    Preparing search index...

    Class RasterDemSource

    A raster-DEM provider (Seam A). Tile content is fetched through HttpDataSource (so it shares the persistent Cache-Storage and the data-source log); kind is 'TERRAIN' since it streams elevation, but it is consumed by RasterDemTileset, not the quantized-mesh TerrainTileset.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    kind: DataSourceKind = 'TERRAIN'

    Whether this is 3D Tiles, terrain, or imagery.

    label: string

    Short human-readable provider name (e.g. 'Cesium ion', 'Google (direct)'), used by the optional dataSourceLog to say which source served a load.

    attributions: Attribution[]

    Attribution lines that must be shown while this source is rendered.

    rootUrl: string

    Absolute URL of the root tileset.json (3D Tiles) or endpoint directory (terrain). Carries any auth that propagates down the tree as a query param (e.g. an API key).

    encoding: DemEncoding
    minZoom: number
    maxZoom: number

    Methods

    • URL of the DEM tile at z/x/y.

      Parameters

      • z: number
      • x: number
      • y: number

      Returns string