Skip to main content

MVTSource

From-v4.0

The MVTSource dynamically loads tiles, typically from big pre-tiled hierarchies on cloud storage.

SourceCharacteristic
File Extension.mvt .tilejson
File TypeBinary Archive
File FormatMapbox Vector Tiles
Data FormatGeoJSON

Usage​

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

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

Options​

OptionTypeDefaultDescription