1.0.2 • Published 5 years ago
search-records-in-lat-long-radius v1.0.2
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');