search-records-in-lat-long-radius
v1.0.2
Published
Returns list of records that fall within a particular radius of a location (coordinates).
Downloads
7
Maintainers
Readme
Search Records in Lat-Long Radius
Outputs records that are present within a particular radius of the provided GPS coordinates.
Usage
const DUBLIN = {
LAT: 53.339428,
LONG: - 6.257664
};
const RADIUS = 100; //Km
const SearchFile = require('search-records-in-lat-long-radius');
SearchFile.search(DUBLIN.LAT, DUBLIN.LONG, RADIUS, 'customers.txt');