pt
Description
Translate Properties to final Point, priorities:
- options.properties
- inherent Point properties
- dist custom properties created by NearestPointToLine
Parameters
Name | Type | Description |
---|
Returns
Installation
$ npm install @turf/nearest-point-to-line
import { pt } from "@turf/nearest-point-to-line";
const result = pt(...);
$ npm install @turf/turf
import * as turf from "@turf/turf";
const result = turf.pt(...);