Giter VIP home page Giter VIP logo

tcgooglemaps's Introduction

#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.

tcgooglemaps's People

Contributors

tclee avatar

Stargazers

GRaj avatar

Watchers

GRaj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.