This repository is no longer actively maintained.
Continued development of react-native-mapbox-gl may be found in the community driven repository at https://github.com/react-native-mapbox-gl/maps. This new repository uses the latest versions of the Mapbox SDKs for iOS and Android, and contains a long range of improvements over the current one. We recommend you review the changelog for the new repository and transition to it.
This repository will only accept PRs containing bug fixes. Any new feature development will happen in the new repository.
An unofficial React Native component for building maps with the Mapbox Maps SDK for iOS and Mapbox Maps SDK for Android
Mapbox is the location data platform for mobile and web applications. We provide building blocks to add location features like maps, search, and navigation into any experience you create. Use our simple and powerful APIs & SDKs and our open source libraries for interactivity and control.
Not a Mapbox user yet? Sign up for an account here. Once you’re signed in, all you need to start building is a Mapbox access token. Use this same short code with all of our interactive mapping libraries, Python and JavaScript SDKs, and directly against our REST APIs. You can create and manage your access tokens on your Mapbox Account page.
🛑 NB: The current release 6.1.4
is not up on NPM. You have to get the master version from github. 🛑
Dependencies
- node
- npm
- React Native recommended version 0.50 or greater
Git
git clone [email protected]:mapbox/react-native-mapbox-gl.git
cd react-native-mapbox-gl
Yarn
yarn add https://github.com/nitaliano/react-native-mapbox-gl#master
Npm
npm install https://github.com/nitaliano/react-native-mapbox-gl/tarball/master
We have a feature request open with Expo if you want to see it get in show your support https://expo.canny.io/feature-requests/p/add-mapbox-gl-support
Have a question or need some help? Join our Gitter developer group!