I just get approximate location from your public IP address via an external IP geolocation API (ipapi.co), which usually gives city-level accuracy.