I am trying to build an app for my college project. I want to store some places like hotels, tourist places with photos. I know how to get the places coordinates. I will be using firebase to store data as well as the coordinates (if possible). So user will be able to see those places which are nearby to the user. How to do it? I have no idea about it. I mean how to relate the database with the current location, and the places from google map?
Asked
Active
Viewed 70 times
0
-
You'll want to use [GeoFire for iOS](https://github.com/firebase/geofire-objc) for this. See https://stackoverflow.com/questions/47365000/sort-array-by-distance-near-user-location-from-firebase – Frank van Puffelen Dec 02 '17 at 15:18
-
No no, not for ios. For Android – Bikram Nath Dec 02 '17 at 15:19
-
Now I know that I need to use geofire, but how to implement it? Please help – Bikram Nath Dec 02 '17 at 15:23
-
Stack Overflow is not a place that generates custom tutorials for your needs. While we're helpful, you need to show what you've already tried. The GeoFire documentation might be a good place to start, and there are likely tutorials out there too. Try to make a start on your app, then report back with a more concrete problem when you get stuck. I recommend [creating an MCVE](http://stackoverflow.com/help/mcve) to maximize your chances of getting actionable help quickly. – Frank van Puffelen Dec 02 '17 at 15:55
-
Okay thank you for your suggestions. I am now working on it and will post for sure:) – Bikram Nath Dec 02 '17 at 16:06