@loaders.gl/mvt
Version:
Loader for Mapbox Vector Tiles
19 lines • 696 B
TypeScript
import type { WriterOptions } from '@loaders.gl/loader-utils';
export type MVTWriterOptions = WriterOptions & {
mvt?: {
/** Name of the single layer that will be written into the tile */
layerName?: string;
/** Vector tile specification version */
version?: number;
/** Extent of the vector tile grid */
extent?: number;
/** Optional tile index for projecting WGS84 coordinates into tile space */
tileIndex?: {
x: number;
y: number;
z: number;
};
};
};
export declare function encodeMVT(data: any, options?: MVTWriterOptions): ArrayBuffer;
//# sourceMappingURL=encode-mvt.d.ts.map