Location services incorrectly reporting location to app
Firstly, geolocation is not related to the WiFi you are using.

Then, check in your iPhone settings if the Location Services (inside Privacy) are On (therefore enabled) for your particular App.