AbstractFor 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
Converts the raw data from the server to a custom type of data.
By default, returns a DataTile object containing the Tile and the raw data returned from readTile(), but this can be overridden (e.g. in DemTile the data of the DataTile is a DEM object).
the DataTile pairing the Tile and the data in the format we want.
AbstractreadAbstract method to read the data from a URL. The placeholders will be replaced with the current actual values.
the URL.
a Promise resolving with arbitrary data. The raw data type might not be the same as the tiled type, e.g. in the DemTiler, the raw data is RawPngData but the tiled data type is DEM.
Sets the zoom.
the zoom to use.
Represents a tiler, capable of delivering Tiles from a given URL.