UNPKG

@loaders.gl/wkt

Version:

Loader and Writer for the WKT (Well Known Text) Format

26 lines 802 B
import type { WriterOptions } from '@loaders.gl/loader-utils'; import { encodeWKT } from "./lib/encode-wkt.js"; import { Geometry } from '@loaders.gl/schema'; export type WKTWriterOptions = WriterOptions & { wkt?: {}; }; /** * WKT exporter */ export declare const WKTWriter: { readonly name: "WKT (Well Known Text)"; readonly id: "wkt"; readonly module: "wkt"; readonly version: any; readonly extensions: ["wkt"]; readonly text: true; readonly encode: (geometry: Geometry) => Promise<ArrayBuffer>; readonly encodeSync: typeof encodeWKTSync; readonly encodeTextSync: typeof encodeWKT; readonly options: { readonly wkt: {}; }; }; declare function encodeWKTSync(geometry: Geometry): ArrayBuffer; export {}; //# sourceMappingURL=wkt-writer.d.ts.map