![]() The option you want to select is “Add Stop.” Once you do, you’ll see a menu appear that gives you a few options. ![]() If you want to add multiple locations, you need to select the three little dots in the top right. So, for example, if you’ve recently used one of the destination addresses, you have an option to choose it from the recent list. When you see your address, select it!Īn alternate way to add is to select it from the recent addresses. As you can see in the example below, Google has predictive text and will give you suggestions based on your geolocation and search history. The search bar allows you to type in your destination. The first step is to tap the address you wish to add. If not, you can go ahead and modify your destination. If this is not the location you wish to start your route, then go ahead and change that one. One thing to note is that the app will begin with your current location as a default starting location. Step 5: Add Starting and Destination Address If this is the case, go ahead and tap the car icon, and you’ll see the image below. Therefore, if you have another option selected, such as the bus in the example below. We assume users will plan a route by car or truck. So go ahead and click it! Step 4: (Optional step) Select “car” Icon This button starts the process of adding multiple locations. On the bottom right-hand corner, there is a blue button. The radar search returned results that were some times up to 3 times outside the radius of our search, so upon getting the result of a place, we check the geo location to make sure it is within one of our boundaries.Open up the app. You get access to the 'google' object when you add the google map api var mapOptions = Using Google Map / Places API it was easy and straight forward to init a map.įirst we call the Map API with a few libraries that we’ll use later on. Find a way to return all the “Bars” along that route.Send the two locations to Google Map Directions API to get a path / route.Have two input fields (Start and End), maybe use Google Place Autocomplete API.We will start by breaking down my large problem in to smaller manageable chunks. This proof of concept version of Bar Voyage allows you to enter two locations (Start and End) then show Google Maps with directions between the two points and drops pints on the locations. The clever name was suggested by Gemma Stephen. So for my Cookies Lab week, I decided I would attempt to create an app to solve the problem. Some even fail to utilise the API’s of a service such as Google Map, Foursquare or even Facebook, and, as a result, did not have anywhere near enough results.Īfter giving up on my search, I recently became in need for such a service and I found a new app that came close to solving the problem, but alas, it was only available in London. Over the years, I’ve come across many websites and apps that attempt to do this, however, most don’t hit the nail on the head, and others make it far too complicated. ![]() Since my first year at university, I’ve been looking for an app that would allow me to enter a start and end location on a map, and for it to return directions between those two points, with all the drinking establishments along the route. ![]()
0 Comments
Leave a Reply. |