Home

Awesome

Deprecation notice

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.

Mapbox Maps SDK for React Native

An unofficial React Native component for building maps with the Mapbox Maps SDK for iOS and Mapbox Maps SDK for Android

npm version FOSSA Status

What is Mapbox?

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.

Sign up for Mapbox

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.

Installation

๐Ÿ›‘ NB: The current release 6.1.4 is not up on NPM. You have to get the master version from github. ๐Ÿ›‘

Dependencies

Git

git clone git@github.com: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

Installation Guides

Documentation

Components

Sources

Layers

Offline

Expo Support

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

Developer Group

Have a question or need some help? Join our Gitter developer group!

License

FOSSA Status