For a given Spherical Mercator position and zoom, downloads data if necessary and returns the data at the tile corresponding to that position.
the Spherical Mercator position.
zoom level to use (default 13)
Promise resolving with the given Tile, or null if it couldn't be loaded
Obtain the elevation in metres for a given Spherical Mercator position.
the Spherical Mercator position.
the elevation in metres, or Number.NEGATIVE_INFINITY if this position is outside the extent of the DEM.
Obtain the elevation in metres for a given longitude/latitude.
the longitude/latitude.
the elevation in metres, or Number.NEGATIVE_INFINITY if this position is outside the extent of the DEM.
Overridden rawTileToStoredTile() to convert the raw PNG tile to a DEM object.
the current tile.
the raw downloaded data.
the DataTile pairing the Tile and the DEM data as a DEM object.
Overridden readTile() for DemTiler.
the Terrarium server URL.
a Promise resolving with raw Terrarium data.
Sets the zoom.
the zoom to use.
Class representing a Tiler which delivers DEM data.