Discussion Forums  >  Uncategorized

Replies: 3    Views: 400

johneb
I hate code!
Profile
Posts: 7
Reg: Dec 21, 2010
location unknow...
70
12/21/10 04:36 PM (15 years ago)

Experience using GoogleMaps API?

Building my first app, want to enable a Google maps search from lat/long geocode (using device GPS if available, or by user-entered address). I'm using buzztouch b/c I'm clueless on the code side - looking for some guidance/instruction. Thanks.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/22/10 04:58 AM (15 years ago)
I'm not sure I understand what your asking. Are you asking how to make a map? buzztouch makes it super easy to show a location or a series of locations on a map. If you're looking to do some kind of search or other mapping, you'll need to understand some code ;-) Add a little details, lets start there.
 
johneb
I hate code!
Profile
Posts: 7
Reg: Dec 21, 2010
location unknow...
70
like
12/22/10 07:06 AM (15 years ago)
I'd like a user to be able to find retail pharmacies from either his current location (using device GPS for current lat/long) OR from a specified address. I want pharmacy locations plotted on a map along with user's location. I'm guessing my best bet is to find a way to pass user's lat/long parameters to the Google mobile app. I assume I'll be using Custom HTML for this when I build my app.....
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/22/10 12:31 PM (15 years ago)
Makes perfect sense. It's assumed then that you have a database of pharmacies on your website somewhere. You could create a CustomURL screen that loaded your 'Search Screen' or something. When the phone requests the URL for the CustomURL screen it could also send it's location - that you would use in the Query that determined which pharmacies to show. If you're comfortable with these concepts, it won't be difficult to do this. Sounds to me like the biggest challenge is going to be all the logic around deciding what to show to who. Maybe explor createing some mobile pages on your URL to load in the phone when the device is identified? Of the custom URL, you'll need to append device variables to the end of the URL so your backend knows the lat/lon of the phone when it makes the request. Adding these variables to the end of the URL was easy before we suspended this feature on the CustomURL screen (see the red notice on that screen). We can easily modify your CustomURL screen for you if you need, just let us know which screen you want to use this for and we'll make the change on this end.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.