Pablo Zamora
Posts: 0
Joined: Mon Oct 06, 2014 6:45 am

searchig near places from database with geolocation

Hi, i hope you can help me, i have a collection with many columns, one of them is the address, i would like users to send their location so they can see a list of items near to them, i know how to get lat and lng but i don't know how to compare theese ones with the address stored in DB to display the near items in a mobilelist. I have already watched theese tutorials but i can't figure it out. Thanks in advanced.

http://devcenter.appery.io/tutorials/...

http://devcenter.appery.io/tutorials/...

http://devcenter.appery.io/tutorials/...

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

searchig near places from database with geolocation

Hello Pablo,

If you have the coordinates of the user and you want to retrieve the objects nearest to the user from the database, in the database, you need to store the coordinates of the object (column type geopoint). <ore information about queries, please see here http://devcenter.appery.io/documentat...

Return to “Issues”