MVTSource
The MVTSource
dynamically loads tiles, typically from big pre-tiled hierarchies on cloud storage.
Source | Characteristic |
---|---|
File Extension | .mvt .tilejson |
File Type | Binary Archive |
File Format | Mapbox Vector Tiles |
Data Format | GeoJSON |
Usage​
import {createDataSource} from '@loaders.gl/core';
import {MVTSource} from '@loaders.gl/pmtiles';
const source = createDataSource(url, [MVTSource]);
const tile = await source.getTile(...);
Options​
Option | Type | Default | Description |
---|