开发者社区> 镜像站> NPM> turf-point
turf-point
turf point module
Last updated 6 years ago by morganherlocker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install turf-point 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.1                                ...           latest (6 years ago)

14 Versions

  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.2.1                                ...           6 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.1.6                                ...           6 years ago
  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago