Coder Social home page Coder Social logo

xambarr / 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 274 KB

A collection of examples showing off the Mapbox Navigation SDK.

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

License: Other

Swift 98.68% Ruby 0.16% C 0.12% Shell 1.05%

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/navigation-ios-examples.git
  2. cd 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 PRIVATE_MAPBOX_API_TOKEN
    
    where PRIVATE_MAPBOX_API_TOKEN is your Mapbox API token with the DOWNLOADS:READ scope.
  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 MGLMapboxAccessToken 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:

navigation-ios-examples's People

Contributors

maximalien avatar 1ec5 avatar udumft avatar jthramer avatar vincethecoder avatar frederoni avatar friedbunny avatar captainbarbosa 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.