i'm developing a java desktop application for tracking device like PC, My code is based on examples giving in https://www.teamdev.com/jxmaps#code Please how can i get current position thanks
Asked
Active
Viewed 232 times
-2
-
What platform are you running your code on? Windows? Mac? Linux? Android? Bear in mind that many computers are not capable of giving their location. – Stephen C Nov 19 '16 at 11:09
-
i'm running my code on Windows – oum rouma Nov 19 '16 at 11:18
-
Does your hardware have geolocation capability? – Stephen C Nov 19 '16 at 11:24
-
yes my hardware have geolocation capability – oum rouma Nov 19 '16 at 11:26
-
OK. So search for "java windows gps". You will need to use another library to get your current position. There are many possible options. – Stephen C Nov 19 '16 at 11:39
-
thank you so much , i'll check that – oum rouma Nov 19 '16 at 11:48
1 Answers
0
Unfortunately, current version of JxMaps doesn't provide possibility to get current location. But you can use any third party solution to get coordinates of current position and pass them to LatLng objects.

Vitaly Eremenko
- 341
- 1
- 5