turf-point

WebJar for turf-point

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

turf-point
Last Version

Last Version

2.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

turf-point
WebJar for turf-point
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/turf-junkyard/turf-point

Download turf-point

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/turf-point/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>turf-point</artifactId>
    <version>2.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/turf-point/
implementation 'org.webjars.npm:turf-point:2.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/turf-point/
implementation ("org.webjars.npm:turf-point:2.0.1")
'org.webjars.npm:turf-point:jar:2.0.1'
<dependency org="org.webjars.npm" name="turf-point" rev="2.0.1">
  <artifact name="turf-point" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='turf-point', version='2.0.1')
)
libraryDependencies += "org.webjars.npm" % "turf-point" % "2.0.1"
[org.webjars.npm/turf-point "2.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : minimist jar [1.1.0,2)

Project Modules

There are no modules declared in this project.

turf-point

build status

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
org.webjars.npm

deprecated turf modules: do not use or reference, for redirects only

turf is now a monorepo: all turf modules are in Turfjs/turf

Versions

Version
2.0.1