TomasNilsson / SpotiTraceApp

Android app for the final project in ECE 150 - Mobile Embedded Systems
https://sites.google.com/site/spotitrace/
2 stars 0 forks source link

Use Google Maps to select position where you want to find users #12

Closed TomasNilsson closed 9 years ago

TomasNilsson commented 9 years ago

Issue by tomas-nilsson Sunday Feb 15, 2015 at 05:42 GMT Originally opened as https://github.ucsb.edu/tomas-nilsson/SpotiTraceApp/issues/12


Drop a marker on the map where you want to find users.

Show list of users close to that location.

TomasNilsson commented 9 years ago

How to get a list of users close to a location:

curl -v -H "Accept: application/json" -H "Content-type: application/json" -H 'Authorization: Token token="dsajhgsljkhvdsahlskfhbcöj"' -X POST -d ' {"latitude":"34.4208333","longitude":"-119.6972222"}'  http://localhost:3000/api/users/location

The returned list of users will look like the JSON output in #4.