1.9.0 • Published 3 years ago

@ahmadlamber/getnearestlatitudeandlongitudefromarray v1.9.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

��## 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 } -->

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.3.0

3 years ago