traccar-web icon indicating copy to clipboard operation
traccar-web copied to clipboard

Getting latitude and longitude values for a device

Open kelvintaku opened this issue 5 years ago • 5 comments

Hello guys, im new on this kind of proyect and im trying to get only latitude and longitude value from a device to put in a message, how can i get those? and thanks in advance

kelvintaku avatar Jul 02 '19 21:07 kelvintaku

Not sure what is your question about. Do you use traccar system for receiving data from your device?

vitalidze avatar Jul 03 '19 08:07 vitalidze

Yeah, im using traccar system but im trying to add an option in the context menu of devices that links to google maps web for that device's latitude and longitude, i got to add the menu item, but im trying to figue how to get latitude and longitude

kelvintaku avatar Jul 04 '19 02:07 kelvintaku

If you are using the traccar web UI mod (this project), then you can get it via API: http://traccar.litvak.su/features/rest-api.html

vitalidze avatar Jul 04 '19 07:07 vitalidze

Oh thanks, ill test it out, so i can get latitude and longitude values for a device witht this api, right?

kelvintaku avatar Jul 04 '19 15:07 kelvintaku

Yes, thats correct

чт, 4 июл. 2019 г., 18:41 kelvintaku [email protected]:

Oh thanks, ill test it out, so i can get latitude and longitude values for a device witht his api, right?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vitalidze/traccar-web/issues/1227?email_source=notifications&email_token=AARQENKCCVC5RMLYXUBRMO3P5YK3NA5CNFSM4H5AAC2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHXDFI#issuecomment-508522901, or mute the thread https://github.com/notifications/unsubscribe-auth/AARQENI63SP5OMVL6WND743P5YK3NANCNFSM4H5AAC2A .

vitalidze avatar Jul 04 '19 16:07 vitalidze