Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nitaliano/react-native-mapbox-gl
A Mapbox GL react native module for creating custom maps
https://github.com/nitaliano/react-native-mapbox-gl
android ios mapbox-gl react-native
Last synced: 5 days ago
JSON representation
A Mapbox GL react native module for creating custom maps
- Host: GitHub
- URL: https://github.com/nitaliano/react-native-mapbox-gl
- Owner: nitaliano
- License: other
- Created: 2015-04-26T20:08:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T11:22:11.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T13:49:38.206Z (3 months ago)
- Topics: android, ios, mapbox-gl, react-native
- Language: Java
- Homepage:
- Size: 16.1 MB
- Stars: 2,161
- Watchers: 94
- Forks: 697
- Open Issues: 225
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-react-native - react-native-mapbox-gl β 1663 - A Mapbox GL react native module for creating custom maps (Components / UI)
README
# 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](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](https://github.com/react-native-mapbox-gl/maps/blob/master/CHANGELOG.md) 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](https://www.mapbox.com/ios-sdk/) and [Mapbox Maps SDK for Android](https://www.mapbox.com/android-sdk/)_
[![npm version](https://badge.fury.io/js/%40mapbox%2Freact-native-mapbox-gl.svg)](https://badge.fury.io/js/%40mapbox%2Freact-native-mapbox-gl)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Freact-native-mapbox-gl.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Freact-native-mapbox-gl?ref=badge_shield)## What is Mapbox?
Mapbox is the location data platform for mobile and web applications. We provide [building blocks](https://www.mapbox.com/products/) 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](https://www.mapbox.com/signup/). 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](https://www.mapbox.com/account/).
## Installation
π NB: The current release `6.1.4` is not up on NPM. You have to get the master version from github. π**Dependencies**
* [node](https://nodejs.org)
* [npm](https://www.npmjs.com/)
* [React Native](https://facebook.github.io/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
```## Installation Guides
* [Android](/android/install.md)
* [iOS](/ios/install.md)
* [Example](/example)## Documentation
### Components
* [MapView](/docs/MapView.md)
* [Light](/docs/Light.md)
* [StyleSheet](/docs/StyleSheet.md)
* [PointAnnotation](/docs/PointAnnotation.md)
* [Callout](/docs/Callout.md)### Sources
* [VectorSource](/docs/VectorSource.md)
* [ShapeSource](/docs/ShapeSource.md)
* [RasterSource](/docs/RasterSource.md)### Layers
* [BackgroundLayer](/docs/BackgroundLayer.md)
* [CircleLayer](/docs/CircleLayer.md)
* [FillExtrusionLayer](/docs/FillExtrusionLayer.md)
* [FillLayer](/docs/FillLayer.md)
* [LineLayer](/docs/LineLayer.md)
* [RasterLayer](/docs/RasterLayer.md)
* [SymbolLayer](/docs/SymbolLayer.md)### Offline
* [OfflineManager](/docs/OfflineManager.md)
* [SnapshotManager](/docs/snapshotManager.md)## 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](https://gitter.im/react-native-mapbox-gl/Lobby)!
## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Freact-native-mapbox-gl.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Freact-native-mapbox-gl?ref=badge_large)