I am about to make an app where I alert people if another person is within say 150 yrds of another person. I am making the App with Phongegap and have read the docs on the Geo-location and worked through the examples.
I am not looking for a here is your code anwser just some direction on what the best tools to use for this are.
I want to be holding my phone in say a park and when another member comes within 150 yrds I want it to alert me. My difficulty is not getting the location of the individual phone but knowing when one is near another.
My thoughts so far are:
1) get the location of the phones when a change is detected and create a new landmark/ move the lanmark on an API like Google geolocation - Almost dynamic landmarks? Would this work?. Then other user when they check the map can view the landmarks(other people).
2)is there a plugin I can use?
3)Is there clever way of working the distances out - Although comparing those distaces with multiple users could be taxing on the database?
Any guidance is much appreciated on this.