1. turf-point
turf point module
turf-point
Package: turf-point
Created by: Turfjs
Last modified: Mon, 27 Jun 2022 23:30:49 GMT
Version: 2.0.1
License: MIT
Downloads: 82,629
Repository: https://github.com/Turfjs/turf-point

Install

npm install turf-point
yarn add turf-point

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

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin