UNPKG

gis-tools-ts

Version:

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

10 lines 791 B
import type { MValue, Properties, VectorFeature, VectorLineString, VectorLineStringGeometry, VectorPoint } from '../../../index.js'; /** * Given a linestring in degrees and a distance, create a [`VectorPoint`] along the line * @param input - The linestring to interpolate along * @param distance - The distance to interpolate in meters * @param radius - The radius of the sphere. Defaults to the Earth's radius in meters * @returns - the interpolated point */ export declare function alongLine<M = Record<string, unknown>, D extends MValue = Properties, P extends Properties = Properties>(input: VectorLineString<D> | VectorLineStringGeometry<D> | VectorFeature<M, D, P, VectorLineStringGeometry<D>>, distance: number, radius?: number): VectorPoint; //# sourceMappingURL=along.d.ts.map