mauiman2 — 2012-12-27T20:06:11-05:00 — #1
Finally diving into making my first mobile app. It is going to be a "Find a Restaurant" feature that helps people find restaurants that have certain types of deals. I'd like to be able to show a map that displays thumbtacks for all of the restaurants in a certain county that have this particular type of deal. That's probably the easy part - map with thumbtacks. But what I need more help with is allowing the user to let the app detect their GPS location and then point them to say the nearest 5 thumbtacked restaurants and then once they pick one of those they can tap something to then get directions to their selected restaurant. I've looked at a number of things that help you get maps going with various features on your site/app and a lot of them have a lot of great stuff but none of them are jumping out at me as readily having this feature I need. So I am open to wrangling an existing map helper application into compliance but if somebody knew a resource that they could point me to that more readily solves my current problem then that'd be great and much appreciated.
fllu — 2013-01-16T10:59:56-05:00 — #2
Have you tried looking over Google places api? They have a lot of documentation that can help guide you in building your first LBS app. I remember when i build my first app. I was super excited going thru the whole app approval process and etc. Good luck!
nightstalker — 2013-01-16T23:32:11-05:00 — #3
What platform are you writing this for? iOS, Android, etc? The advice to give will differ a bit depending on your platform of choice
mauiman2 — 2013-01-17T00:45:43-05:00 — #4
I was under the impression that using PhoneGap would take care of the differences. Then again, I haven't used it yet so I could be wrong.
nightstalker — 2013-01-17T03:40:31-05:00 — #5
Yes, if you are going to be using a cross platform tool like phonegap, yes, that will sort out both. I just needed to understand which platform you wanted to go with. I have not worked much with phonegap, but their api should be pretty powerful, but I am not sure how they handle the navigation intents, etc.
stevenhu — 2013-01-17T10:46:55-05:00 — #6
PhoneGap doesn't change the code. It expects you to make your app in HTML, CSS, and JS (if need be), and place it all in a www folder. Then you use its APIs to access various parts of the phone, such as the camera feature. It doesn't provide map stuff; you make it work, checking it with Google Chrome tools, and it all goes into your www folder, and PhoneGap wraps it up and displays all your content in a webview.
nightstalker — 2013-01-18T07:52:49-05:00 — #7
I know it does not change the code and you use HTML, CSS and JS. I asked my question to make sure what platform OP was talking about. So then if PhoneGap just wraps everything in a webview, as that mean it will use the mobile site version of gmaps?
mauiman2 — 2013-01-20T02:12:18-05:00 — #8
system — 2014-10-07T23:34:13-04:00 — #9
This topic is now closed. New replies are no longer allowed.