gis-tools-ts
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
20 lines • 628 B
TypeScript
import type { S2CellId, TileStoreOptions } from '../../index.js';
/** Initial message sent to the worker */
export interface InitMessage {
type: 'init';
url: string;
inputType: string;
options: TileStoreOptions;
}
/** Tile request message sent from the source worker to this server worker */
export interface TileRequestMessage {
type: 'tilerequest';
id: S2CellId;
}
/** Tile response message sent from this server worker to the source worker */
export interface TileResponseMessage {
type: 'tileresponse';
id: S2CellId;
data: ArrayBufferLike;
}
//# sourceMappingURL=tileserve.worker.d.ts.map