How to get nearby POIs
- by balexandre
I have a database with Points of Interest that all have an address.
I want to know what is the method/name/call to get all nearby POIs from a given position.
I understand that I need to convert all my addresses to LAT / LON coordinates at least, but my question is:
for a given LAT / LONG how do I get from the database/array what POIs are nearby by distance, for example:
You are here 0,0
nearest POIs in a 2km radius are:
POI A (at 1.1 Km)
POI C (at 1.3 Km)
POI F (at 1.9 Km)
I have no idea what should I look into to get what I want :-(
Any help is greatly appreciated.
Thank you