Gecoding - Find nearest 3 based on lat long held in database.
Hello,
I have used the geocoding app as an example to see if i could do what i wanted, and have so far been successful. (http://devcenter.appery.io/tutorials/...)
However i now want to take this one step further and need a little assistance with this. Am i after mainly two things, these are:
1) Using lat long contained within the database rather than the Google Geocoding API. I have tried to comment out the 'Google Geocoding' API server code to say use true coodinates held within the database but i cant see how this could be acheived. Could somebody please shed some light on this?
2) I want the database to bring back the nearest 2/3 items rather than all those contained within 1000 metres for example. How would the code need to change to represent this.
If you could please help with this that would be greatly appreciated. If you need anything else then please do not hesitate to contact me.
Ian