/TouristHelper

Grab interesting sights to see around user location using GoogleMaps and Places API

Primary LanguageSwift

Tourist Helper

Twitter

Write an app that will help tourists find sights to see wherever they may be. Use an appropriate API (e.g., Google Places, Yelp, Foursquare, Flickr, etc) to grab information about 100 interesting locations around the device’s current location. Plot each location on a map view. Somehow display information about each location when the user selects the location.

Beginning at the devices current location, draw a route that connects all the locations together and ends back at the current location. Don’t bore your tourist by visiting any location twice. Don’t make your tourist too tired by making the length of the connecting path any longer than is necessary.

The paths are as the crow flies, don’t worry about routing on roads or other paths.

Screenshot

Installation

This project uses CocoaPods. All you need to setup it properly is:

pod install

Run:

Open ‘TouristHelper.xcworkspace’

Tasks:

General

  • Create a Git repo
  • Create a Readme file with instruction to run project
  • Publish to GitHub

Development

  • Add Google Map
  • Grab user’s current location
  • Create a model to handle user location data
  • Grab interesting sights using Google places API
    • Grab 100 interesting sights
  • Parse the API response
  • Create model to handle API response
  • Test cases for models
  • Plot pins on map
  • Display info on pin selection
  • Draw a route to connect all the locations with ending to current location
    • Single visit on all locations
    • Choose shortest available path
    • The paths are as the crow files

Special Thanks

Logo image Copyright © and All rights reserved to Itty Bitty Apps.