vitalidze / traccar-web

Traccar Web UI mod
http://traccar.litvak.su/
152 stars 145 forks source link

Getting latitude and longitude values for a device #1227

Open kelvintaku opened 5 years ago

kelvintaku commented 5 years ago

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

vitalidze commented 5 years ago

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

kelvintaku commented 5 years ago

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

vitalidze commented 5 years ago

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

kelvintaku commented 5 years ago

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

vitalidze commented 5 years ago

Yes, thats correct

чт, 4 июл. 2019 г., 18:41 kelvintaku notifications@github.com:

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 .