# @ahmadlamber/getnearestlatitudeandlongitudefromarray

> Get nearest Latitudeand Longitude from array

Latest version **1.9.0** (published 2022-10-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ahmadlamber/getnearestlatitudeandlongitudefromarray
pnpm add @ahmadlamber/getnearestlatitudeandlongitudefromarray
yarn add @ahmadlamber/getnearestlatitudeandlongitudefromarray
bun add @ahmadlamber/getnearestlatitudeandlongitudefromarray
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.9.0 |
| Published | 2022-10-02 |
| First published | 2022-10-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | med |
| Maintainers | ahmadlamber |

## Links

- npm: https://www.npmjs.com/package/@ahmadlamber/getnearestlatitudeandlongitudefromarray
- npm.io page: https://npm.io/package/@ahmadlamber/getnearestlatitudeandlongitudefromarray

## Recent versions

- 1.9.0 (latest) — 2022-10-02
- 1.8.0 — 2022-10-02
- 1.7.0 — 2022-10-02
- 1.6.0 — 2022-10-02
- 1.5.0 — 2022-10-02
- 1.3.0 — 2022-10-02

## README

��## Install

```sh
npm i @ahmadlamber/getnearestlatitudeandlongitudefromarray
```


## Usage


```ts
import GetnearestLatitudeandLongitudefromarray from '@ahmadlamber/getnearestlatitudeandlongitudefromarray'
```


## Functions and Example 

```ts
 array = [ {
    "timestampMs" : "1389633689564",
    "latitudeE7" : 4233738877,
    "longitudeE7" : 1066510714,
    "accuracy" : 20
  }, {
    "timestampMs" : "1446040136103",
    "latitudeE7" : 3974349226,
    "longitudeE7" : 1157765074,
    "accuracy" : 1212
  }, {
    "timestampMs" : "1502203327757",
    "latitudeE7" : 4094251339,
    "longitudeE7" : 3728135318,
    "accuracy" : 16
  } ]  ; 

var ponit = {
  "latitudeE7" : 4094251339,
    "longitudeE7" : 3728135318,
} 

  var  ruslt = GetnearestLatitudeandLongitudefromarray(array ,ponit  )

// {
//     "Minimumdistanceinklm": 0,
//     "lat": 4094251339,
//     "lng": 3728135318
// }

```


<!-- # Functions and Example 



 var array = [ {
    "timestampMs" : "1389633689564",
    "latitudeE7" : 4233738877,
    "longitudeE7" : 1066510714,
    "accuracy" : 20
  }, {
    "timestampMs" : "1446040136103",
    "latitudeE7" : 3974349226,
    "longitudeE7" : 1157765074,
    "accuracy" : 1212
  }, {
    "timestampMs" : "1502203327757",
    "latitudeE7" : 4094251339,
    "longitudeE7" : 3728135318,
    "accuracy" : 16
  } ]  ; 

#   var ponit = {
  "latitudeE7" : 4094251339,
    "longitudeE7" : 3728135318,
} 
#  var  ruslt = GetnearestLatitudeandLongitudefromarray(array ,ponit  )

{
    "Minimumdistanceinklm": 0,
    "lat": 4094251339,
    "lng": 3728135318
}
 -->

---
_Source: https://npm.io/package/@ahmadlamber/getnearestlatitudeandlongitudefromarray · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
