Skip to main content

PMTilesSource

From-v4.0

The PMTilesSource reads individual tiles from a PMTiles archive file.

LoaderCharacteristic
File Extension.pmtiles
File TypeBinary Archive
File FormatPMTiles
Data FormatMetadata

Usage

import {PMTilesSource} from '@loaders.gl/pmtiles';

const source = new PMTilesSource({url});
const tile = await source.getTile(...);

Options

OptionTypeDefaultDescription