npm install turf-point
turf point module
Generates a new Point feature, given coordinates
and, optionally, properties.
| parameter | type | description |
| ------------ | ------ | ------------------------------------------------------------- |
| longitude | number | - position west to east in decimal degrees |
| latitude | number | - position south to north in decimal degrees |
| properties | Object | - an optional object that is used as the Feature's properties |
``js`
var pt1 = turf.point([-75.343, 39.984]);
//=pt1
Requires nodejs.
`sh`
$ npm install turf-point
`sh``
$ npm test