GithubHelp home page GithubHelp logo

aaronberndt / mapbox-navigation-ios-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mapbox/mapbox-navigation-ios-examples

0.0 0.0 0.0 2.08 MB

A collection of examples showing off the Mapbox Navigation SDK.

Home Page: https://github.com/mapbox/mapbox-navigation-ios

License: Other

Shell 0.58% Ruby 0.10% C 0.04% Swift 99.28%

mapbox-navigation-ios-examples's Introduction

Mapbox Navigation SDK Examples

CircleCI

A collection of examples showing off the Mapbox Navigation SDK.

Installation

Installation with CocoaPods

  1. git clone https://github.com/mapbox/mapbox-navigation-ios-examples.git
  2. cd mapbox-navigation-ios-examples
  3. Go to your Mapbox account dashboard and create an access token that has the DOWNLOADS:READ scope. PLEASE NOTE: This is not the same as your production Mapbox API token. Make sure to keep it private and do not insert it into any Info.plist file. Create a file named .netrc in your home directory if it doesn’t already exist, then add the following lines to the end of the file:
    machine api.mapbox.com 
      login mapbox
      password YOUR_SECRET_MAPBOX_TOKEN
    
    where YOUR_SECRET_MAPBOX_TOKEN is your Mapbox API token with the DOWNLOADS:READ scope. The login should always be mapbox. It should not be your personal username used to create the secret token.
  4. Run pod repo update && pod install and open the resulting Navigation-Examples.xcworkspace.
  5. Sign up or log in to your Mapbox account and grab a Mapbox access token.
  6. Enter your Mapbox access token into the value of the MBXAccessToken key within the Info.plist file. Alternatively, if you plan to use this project as the basis for any open source application, read this guide to learn how to best protect your access tokens.
  7. Building and run the Navigation-Examples scheme.

Add an example:

  1. Add the example to /Examples.
  2. Add the example name to the Constants.swift.
  3. Run the app.

Additional resources

While we are not able to answer support questions in this repository, below are some helpful resources if you're just getting started with the Mapbox Navigation SDK for iOS:

mapbox-navigation-ios-examples's People

Contributors

1ec5 avatar azarovalex avatar bamx23 avatar captainbarbosa avatar chezzdev avatar frederoni avatar friedbunny avatar jill-cardamon avatar jinny-nam avatar jthramer avatar kried avatar mapbox-github-ci-writer-public-1[bot] avatar maximalien avatar pjleonard37 avatar s2ler avatar sevazhukov avatar shanma1991 avatar udumft avatar vincethecoder 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.