Reputation: 177
I have a list of delivery agents(bikers) for a restaurant in the MYSQL database with longitude and latitude(updating in every 10 seconds). I want if the restaurant gets a new order, restaurant nearest agent will get the updating message.
I am stuck over how to do in Django. I know geoDjango is useful but it will give liner distance between two points.
Can someone help me to get the nearest user on the map?
Upvotes: 0
Views: 764