Files
Projekt-Visualisierung/node_modules/@maplibre/geojson-vt/dist/convert.d.ts
2026-04-15 17:08:39 +02:00

17 lines
651 B
TypeScript

import type { GeoJSONVTInternalFeature, GeoJSONVTOptions } from './definitions';
/**
* converts GeoJSON to internal source features (an intermediate projected JSON vector format with simplification data)
* @param data
* @param options
* @returns
*/
export declare function convertToInternal(data: GeoJSON.GeoJSON, options: GeoJSONVTOptions): GeoJSONVTInternalFeature[];
/**
* Convert longitude to spherical mercator in [0..1] range
*/
export declare function projectX(x: number): number;
/**
* Convert latitude to spherical mercator in [0..1] range
*/
export declare function projectY(y: number): number;
//# sourceMappingURL=convert.d.ts.map