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

19 lines
747 B
TypeScript

import type { GeoJSONVTInternalFeature } from './definitions';
/**
* Converts internal source features back to GeoJSON format.
*/
export declare function convertToGeoJSON(source: GeoJSONVTInternalFeature[]): GeoJSON.GeoJSON;
/**
* Converts a single internal feature to GeoJSON format.
*/
export declare function featureToGeoJSON(feature: GeoJSONVTInternalFeature): GeoJSON.Feature;
export declare function unprojectPoints(coords: number[]): GeoJSON.Position[];
/**
* Convert spherical mercator in [0..1] range to longitude
*/
export declare function unprojectX(x: number): number;
/**
* Convert spherical mercator in [0..1] range to latitude
*/
export declare function unprojectY(y: number): number;
//# sourceMappingURL=deconvert.d.ts.map