Radius of the earth in meters
A method to calculate the distance between two geographic points based on latitude and longitude
A object/interface containing the longitude and latitude of the point of location
An object/interface containing the longitude and the latittude of the point of reference
The distance between these points in meters
Fetches the ip address of the client making the HTTP request
The req object of the HTTP request
Check out https://ipdata.co/
Fetches the geographic coordinates of device based on Ip
Check out https://ipdata.co/
using Azure Map services, a physical address can be passed to give its coordinates
Pass in the physical address of a location to be gp
using Google Map services, a physical address can be passed to give its coordinates
Pass in the physical address of a location to be geocoded
API key of Google Geocoding API
Validation Method to check location of device
Geographic coordinates of device
Geographic coordinates of validation point
Acceptable distance between the device and validation point in meters
Validation message True or false
Generated using TypeDoc
A geolocation validation middleware to based on Ip address