Skip to content
A Mapbox GL react native module for creating custom maps
Java JavaScript Objective-C HTML Python Shell Ruby
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__ Update: React Native version, eslint, babel, Android SDK, bugfixes fo… Mar 1, 2019
android Fix compilation issue on React Native 0.60 (#1655) Sep 5, 2019
assets Added logo Sep 22, 2017
docs Added showAttribution method to MapView (#1222) Mar 20, 2019
example Add region is changing event payload (#1551) Mar 20, 2019
ios Fixed mapping MGL enum values on RN 0.59 (#1593) Apr 30, 2019
javascript Fixed mapping MGL enum values on RN 0.59 (#1593) Apr 30, 2019
scripts Fixed mapping MGL enum values on RN 0.59 (#1593) Apr 30, 2019
style-spec Updated to latest style spec Nov 29, 2017
.eslintrc.js Update: React Native version, eslint, babel, Android SDK, bugfixes fo… Mar 1, 2019
.gitattributes Updated dot files and package.json Oct 23, 2017
.gitignore updated example (#1522) Mar 6, 2019
.npmignore Updated dot files and package.json Oct 23, 2017
CONTRIBUTING.md Fix spelling of 'location'. Fixes #275 Feb 18, 2016
LICENSE.md update product names Dec 5, 2017
README.md Update README.md May 30, 2019
babel.config.js Update: React Native version, eslint, babel, Android SDK, bugfixes fo… Mar 1, 2019
circle.yml Remove yarn from circle Mar 7, 2018
index.d.ts fix issue types ShapeSourceProps onPress func #1659 (#1660) Sep 6, 2019
package.json Add region is changing event payload (#1551) Mar 20, 2019
react-native-mapbox-gl.podspec [iOS] Add React dependency to Podspec Jan 22, 2018

README.md

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

You can’t perform that action at this time.