open-vector-tile
Version:
This library reads/writes Open Vector Tiles
10 lines • 534 B
TypeScript
import type { VectorTile } from '../vectorTile.js';
import type { BaseVectorTile } from '../base/index.js';
/**
* Write old schema Mapbox vector tiles with extra features (backwards compatible)
* @param tile - the tile to serialize. Either a BaseVectorTile or a MapboxVectorTile
* @param mapboxSupport - support old school mapbox tooling
* @returns - a Uint8Array of the tile
*/
export default function writeMVTile(tile: BaseVectorTile | VectorTile, mapboxSupport?: boolean): Uint8Array;
//# sourceMappingURL=writeMVTile.d.ts.map