UNPKG

s2maps-gpu

Version:

S2 Maps GPU - An open source, high-performance, and GPU-accelerated map engine for rendering large-scale, interactive maps.

8 lines (7 loc) 437 B
import type { MValue, Properties, S2Feature, VectorFeature, VectorGeometry } from '../index.js'; /** * 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>;