UNPKG

itowns

Version:

A JS/WebGL framework for 3D geospatial data visualization

41 lines (40 loc) 1.59 kB
export default EntwinePointTileSource; /** * An object defining the source of Entwine Point Tile data. It fetches and * parses the main configuration file of Entwine Point Tile format, * [`ept.json`](https://entwine.io/entwine-point-tile.html#ept-json). * * @extends Source * * @property {boolean} isEntwinePointTileSource - Used to checkout whether this * source is a EntwinePointTileSource. Default is true. You should not change * this, as it is used internally for optimisation. * @property {string} url - The URL of the directory containing the whole * Entwine Point Tile structure. */ declare class EntwinePointTileSource extends Source { /** * @param {Object} config - The configuration, see {@link Source} for * available values. * @param {number|string} [config.colorDepth='auto'] - Does the color * encoding is known ? Is it `8` or `16` bits ? By default it is to * `'auto'`, but it will be more performant if a specific value is set. */ constructor(config: { colorDepth?: string | number | undefined; }); isEntwinePointTileSource: boolean; colorDepth: string | number | undefined; whenReady: Promise<this>; parse: ((buffer: ArrayBuffer, options: Object) => Promise<any>) | ((data: ArrayBuffer, options?: { in?: { colorDepth?: 8 | 16 | undefined; } | undefined; }) => Promise<any>); extension: string; boundsConforming: any; bounds: any; span: any; fetcher: (url: any, options?: {}) => Promise<ArrayBuffer>; } import Source from '../Source/Source';