Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 2.7 KB

README.md

File metadata and controls

39 lines (32 loc) · 2.7 KB

Mapbox

The Mapbox Navigation SDK is a precise and flexible platform which enables your users to explore the world's streets. We are designing new maps specifically for navigation that highlight traffic conditions and helpful landmarks. The calculations use the user's current location and compare it to the current route that the user's traversing to provide critical information at any given moment. You control the entire experience, from the time your user chooses a destination to when they arrive.

✨ Features:

  • 100% Kotlin
  • MVVM architecture
  • Android architecture components
  • Navigation Jetpack
  • Single activity
  • DataBinding
  • Coroutines
  • Mapbox Direction
  • OpenCelliD

📱 Sample App

gif (2)

🕹 Getting Started:

You will need to provide developer access tokens to fetch the data from Mapbox.

  • Generate a new access token from here. Copy the key and go back to Android project.
  • Define a constant API_KEY with the double quotes, it looks like

  • Mapbox.getInstance(requireActivity(),requireActivity().getString(R.string.tokenKey))

  • Add Mapbox Dependency

  • dependencies { implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.2.0' implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.42.6' implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v9:0.12.0' }