Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mapbox/mapbox-react-examples
Example patterns for building React apps with Mapbox GL JS
https://github.com/mapbox/mapbox-react-examples
Last synced: 2 days ago
JSON representation
Example patterns for building React apps with Mapbox GL JS
- Host: GitHub
- URL: https://github.com/mapbox/mapbox-react-examples
- Owner: mapbox
- License: bsd-2-clause
- Created: 2017-08-01T17:59:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-13T18:33:00.000Z (about 1 year ago)
- Last Synced: 2024-08-02T05:13:39.227Z (3 months ago)
- Language: JavaScript
- Homepage: https://blog.mapbox.com/mapbox-gl-js-react-764da6cc074a
- Size: 7.16 MB
- Stars: 615
- Watchers: 123
- Forks: 247
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
[](https://www.mapbox.com/)
**Mapbox React Examples** is a collection of example patterns for building React apps with [Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js). Each example has its individual directory (like [`mapbox-react-examples/basic`](https://github.com/mapbox/mapbox-react-examples/tree/master/basic)) available for download.
The following links would help you start using [Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js):
- [Mapbox GL JS Repository](https://github.com/mapbox/mapbox-gl-js)
- [Getting started with Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js/overview/)
- [Tutorials](https://docs.mapbox.com/help/tutorials/#web-apps)
- [Getting an Access Token](https://account.mapbox.com/access-tokens/)## Getting Started
To use one of the examples, please read the `README.md` files in each example's directory to get started.
We welcome and love contributions from the community. Please read our [CONTRIBUTING](./CONTRIBUTING.md) documentation before contributing to this project.
![Example Demos](https://i.ibb.co/gmTw3Hy/mapbox.png)
**Caption:** (_Mapbox React Examples, left-to-right, top-to-bottom_): [Basic](https://github.com/mapbox/mapbox-react-examples/tree/master/basic) example, [Data Overlay](https://github.com/mapbox/mapbox-react-examples/tree/master/data-overlay) example, [React Tooltip](https://github.com/mapbox/mapbox-react-examples/tree/master/react-tooltip) example, [Markers Default](https://github.com/mapbox/mapbox-react-examples/tree/master/markers-default) example.
## License
Mapbox Web SDK
Copyright © 2021 - 2023 Mapbox, Inc. All rights reserved.
The software and files in this repository (collectively, “Software”) are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-01]