TCLee / TCGoogleMaps

A navigation app built using Google Maps SDK for iOS, Google Places API and Google Directions API.

Home Page:http://tclee.github.io/TCGoogleMaps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#TCGoogleMaps

This sample project shows how we can use Google Maps SDK for iOS, Google Places API and Google Directions API to build a simple navigation app.


*Search autocomplete with results sorted based on distance from your current location and relevance.*

Google Places Autocomplete


*Selecting a search result will give you the directions from your location to the selected destination.*

Google Maps Directions


*Tapping on the list icon will bring up turn-by-turn directions.*

Turn-by-Turn Directions


*Selecting a step from the list will zoom in on that specific step on the map.*

Step-by-Step Directions on Map


###How to Build and Run
Build Requirements
Xcode 5, iOS 6.0 SDK or iOS 7.0 SDK, CocoaPods
Runtime Requirements
iOS 6.0 or iOS 7.0

####Step 1: Download and Install CocoaPods

Follow the simple installation guide from http://cocoapods.org/.

####Step 2: Install Library Dependencies

Run the following commands in Terminal.app:

$ cd <PROJECT_DIRECTORY>
$ pod install  
$ open TCGoogleMaps.xcworkspace

####Step 3: Generate your API Keys

  1. Go to Google API Console and generate your API key.
  2. In Xcode, open TCGoogleMaps\App\TCGoogleAPIKeys.m and replace with your own API key:
NSString * const kTCGoogleMapsAPIKey = @"YOUR-API-KEY";
NSString * const kTCGooglePlacesAPIKey = @"YOUR-API-KEY";

###Open Source Libraries Used

###See Also

###License This project's source code is provided for educational purposes only. Image resources are based on the icons used in Google Maps. See the LICENSE file for more info.

About

A navigation app built using Google Maps SDK for iOS, Google Places API and Google Directions API.

http://tclee.github.io/TCGoogleMaps

License:MIT License


Languages

Language:Objective-C 79.3%Language:Makefile 18.6%Language:GLSL 0.9%Language:Shell 0.7%Language:Ruby 0.4%Language:C 0.2%