UNPKG

gis-tools-ts

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

8 lines 466 B
import type { MValue, Properties, S2Feature, VectorFeature, VectorGeometry } from '../'; /** * Convert an S2Feature to a GeoJSON Feature * @param data - S2Feature * @returns - GeoJSON Feature */ export declare function toWM<M = Record<string, unknown>, D extends MValue = Properties, P extends Properties = Properties, G extends VectorGeometry<D> = VectorGeometry<D>>(data: S2Feature<M, D, P, G>): VectorFeature<M, D, P, G>; //# sourceMappingURL=convert.d.ts.map