How do get the longitude and latitude on a Windows PC?
I'm writing a libgdx game, and I'd like to make multiplayer matchmaking based on location. I already get the location on android, but I need to get it on the desktop version. I've had a hard time finding an answer as most answers are written for android.
I don't need exact accuracy, but, it would be nice if it could accurately determine city/county.
Google maps API is something I've seen around, it sounds like it does more than I need, and it doesn't seem to have a version for java(that isn't for android..)
Edit: I am really just looking for an reliable IP > location service, for java. (I'd like about 50-200 miles accuracy). And free if possible.