@loaders.gl/pmtiles
Version:
Framework-independent loader for the pmtiles format
25 lines • 742 B
TypeScript
import { Schema } from '@loaders.gl/schema';
export type SourceInfo = VectorSourceInfo | ImageSourceInfo;
/** Information about a vector source */
export type VectorSourceInfo = {
shape: 'vector-source';
/** List of geospatial tables */
layers: {
name: string;
schema: Schema;
}[];
/** List of nongeospatial tables */
tables: {
name: string;
schema: Schema;
}[];
/** Format specific metadata */
formatSpecificMetadata?: Record<string, any>;
};
/** Information about an image source */
export type ImageSourceInfo = {
shape: 'image-source';
/** Format specific metadata */
formatSpecificMetadata?: Record<string, any>;
};
//# sourceMappingURL=source-info.d.ts.map