npm install turf-multipoint
turf multipoint module
Creates a Feature based on a
coordinate array. Properties can be added optionally.
| parameter | type | description |
| ------------- | ---------------------------- | ------------------------------------------------------------- |
| coordinates | Array\.\
| properties | Object | _optional:_ an Object of key-value pairs to add as properties |
``js
var multiPt = turf.multipoint([[0,0],[10,10]]);
//=multiPt
`
Returns Feature., a MultiPoint feature
Requires nodejs.
`sh`
$ npm install turf-multipoint
`sh``
$ npm test