Newton's Programmatic Measurements

npm

Need private packages and team management tools?Check out npm Orgs. »

turf-point

2.0.1 • Public • Published

turf-point

build status

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]);
//=pt1

Installation

Requires nodejs.

$ npm install turf-point

Tests

$ npm test

install

npm i turf-point

Downloadsweekly downloads

8,083

version

2.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability