UNPKG

@allmaps/render

Version:

Render functions for WebGL and image buffers

23 lines (21 loc) 648 B
import { WarpedMapWithImageInfo } from '../maps/WarpedMap.js'; import { Tile, ImageRequest } from '@allmaps/types'; /** * Class for tiles that can be fetched. */ export declare class FetchableTile { readonly mapId: string; readonly tile: Tile; readonly imageRequest: ImageRequest; readonly tileUrl: string; readonly tileKey: string; readonly fetchableTileKey: string; /** * Creates an instance of FetchableTile. * * @constructor * @param tile - the tile * @param warpedMap - A WarpedMap with fetched image information */ constructor(tile: Tile, warpedMap: WarpedMapWithImageInfo); }