Files
validation-lab-site/node_modules/terra-draw/dist/geometry/web-mercator-point-on-line.d.ts
T

13 lines
390 B
TypeScript

import { Position } from "geojson";
/**
* Takes two points and finds the closest point on the line between them to a third point.
* @param lines
* @param inputCoordinate
* @returns
*/
export declare function webMercatorNearestPointOnLine(inputCoordinate: Position, lines: [Position, Position][]): {
coordinate: Position;
lineIndex: number;
distance: number;
} | undefined;