3.0.12 • Published 8 years ago
turf-helpers v3.0.12
turf-point
turf point module
turf.point(coordinates, properties)
Takes coordinates and properties (optional) and returns a new Point feature.
Parameters
parameter | type | description |
---|---|---|
coordinates | Array.\<Number> | longitude, latitude position (each in decimal degrees) |
properties | Object | optional: an Object that is used as the Feature's properties |
Example
var pt1 = turf.point([-75.343, 39.984]);
//=pt1
Returns Feature.<Point>
, a Point feature
Installation
Requires nodejs.
$ npm install turf-point
Tests
$ npm test
3.0.12
8 years ago
3.0.10
8 years ago
3.0.7-canary.ae89c8b3
8 years ago
3.0.5
8 years ago
3.0.1
8 years ago
3.0.0-canary.7879bf6c
8 years ago
3.0.0-canary.2f5f7167
8 years ago
1.0.0
9 years ago