PMTilesSource
The PMTilesSource
reads individual tiles from a PMTiles archive file.
Loader | Characteristic |
---|---|
File Extension | .pmtiles |
File Type | Binary Archive |
File Format | PMTiles |
Data Format | Metadata |
Usage​
import {createDataSource} from '@loaders.gl/pmtiles';
import {PMTilesSource} from '@loaders.gl/pmtiles';
const source = createDataSource(url, [PMTilesSource]);
const tile = await source.getTile(...);
Options​
Option | Type | Default | Description |
---|