GPS/location functionality is provided using Windows Location Services, which must be enabled for the app to access these services.
The link below describes how to configure Location Services on Windows 10:
http://www.howtogeek.com/221869/how-to-disable-or-configure-location-tracking-in-windows-10
See the link below for enabling Windows Location Platform on Windows 7:
https://answers.microsoft.com/en-us/windows/forum/all/how-to-enable-the-location-sensor-in-windows-7-64/ac9f5d39-bb8e-47fc-ab75-07c42d965e59
See the link below for enabling Windows Location Platform on Windows 8:
https://www.thewindowsclub.com/enable-disable-location-sensing-windows-8
For Windows 7 devices, you will need a location sensor for use with the Windows Location Platform.
The link below outlines how to install the free Geosense sensor:
https://www.howtogeek.com/12131/find-your-computers-location-with-windows-7-and-geosense/
If GPS accuracy is vital to your needs, we strongly recommend using Windows devices with onboard GPS chips to receive accurate location data regardless of network connectivity. Windows 10 devices are also best in terms of ensuring compatibility.
Windows will use network information such as IP addresses for devices without an onboard GPS chip to determine an approximate user location (usually only accurate to around 25 kilometers, but occasionally can be very inaccurate).
The GPS chip on a tethered/hot-spot phone is NOT used since the chip is in a completely separate device. Similarly, an externally attached GPS receiver is not guaranteed to work since any Windows compatibility or driver issues could be beyond our control.
Hence, we advise using devices with integrated/onboard GPS if location accuracy is required.