Skip to first unread message

Coder 101

unread,
Aug 1, 2017, 10:57:25 PM8/1/17
to MIT App Inventor Forum
I am trying to make a map based app in which I will display locations of nearby restaurants. How will I use the Google Maps via Activity Starter to display this?

SteveJG

unread,
Aug 2, 2017, 8:27:36 AM8/2/17
to mitappinv...@googlegroups.com
You could have coded this over nine hours ago if you used the AI2 Help Menu.  Read this  found by using the AI2  Help > Library and reading the articles. The required information is in the article or you could have used the Forum search box and might have gotten lucky.  Perhaps this example will work for you?



This is the simplistic way to find restaurants using the ActivityStarter.  The example contains no error control.  Be sure to wait for the GPS to get a satellite fix or do the hard coded version with your latitude and longitude or the example will fail.  The device must be connected to the Internet using WIFI or network.  



you can find other things too by substituting restaurants   with    hospital,   grocery store   etc.

Regards,
Steve






Juan Antonio

unread,
Aug 2, 2017, 5:45:58 PM8/2/17
to MIT App Inventor Forum
Hi,

other solution is a static map Google with marks,



Regards.

Coder 101

unread,
Aug 2, 2017, 10:49:35 PM8/2/17
to MIT App Inventor Forum
SteveJG can you give a bigger picture?
FYI I already know what the Help Desk tells me:Displaying single locations on Google Maps.
Reply all
Reply to author
Forward
0 new messages