geofencing-examples

run:

node.exe .\geofence.js set --location="Stuttgart" --radius=90 --devicelat=49.487457 --devicelong=8.466040

We assume the geofence to be circular

  • location: Location of the center of your geofence
  • radius: radius of geofence in KMs
  • devicelat/long : latitude and longitude of the device