Location/GPS functionality is provided using Windows Location services, therefore it must be enabled in order for the app to access.
This link describes how to configure Location Services on Windows 10.
This link describes how to configure Location Services on Windows 7 and 8:
For Windows 7 devices, you will need a location sensor for use with Windows Location Platform. This link outlines how to install the free Geosense sensor.
If GPS accuracy is important to your needs we strongly recommend using Windows devices with onboard GPS chips to receive accurate location regardless of network connectivity. Windows 10 devices are best in terms of ensuring compatibility.
For devices without an onboard GPS chip, Windows will use network information like IP addresses' to determine an approximate user location. These are usually only accurate to around 25 kilometres.
Note: The GPS chip on a tethered/hot-spot phone is NOT used as the chip for a completely separate device. Similarly, an externally attached GPS receiver is not guaranteed to work as there could be any number of Windows compatibility or driver issues involved beyond our control. We suggest using devices with integrated/onboard GPS if location accuracy is required.