Package Exports
- turf-point
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (turf-point) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
turf-point
turf point module
turf.point(longitude, latitude, properties)
Generates a new Point feature, given coordinates and, optionally, properties.
Parameters
| 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 |
Example
var pt1 = turf.point([-75.343, 39.984]);
//=pt1Installation
Requires nodejs.
$ npm install turf-pointTests
$ npm test