I see that this question is asked a lot here for Java, but every one that I see seems to be Android-oriented: I need a way to get the current latitude and longitude of the user when they call, it comes from a computer, not a mobile device. I know this is possible in C #, but I'm not sure exactly how to do this in Java. I used to use the Google Maps leftover API: however, it wants to get the address as input, and I just want to get a custom lat / lon, which, in my opinion, is easier than calling Google. Any help would be greatly appreciated.
source share