Description
react-map-gl is a React library that wraps Mapbox GL JS and MapLibre GL JS with a React-friendly API. The project describes itself as a suite of React components that provides a React interface for mapbox-gl or maplibre-gl, and it is part of vis.gl, an OpenJS Foundation project. You use its components inside a React app to render an interactive map and add map overlays through the overlay API. Installation needs React 16.3 or later, and the project's documentation includes a getting started guide and examples. The repository is public on GitHub, where you can read the design philosophy and the contribution guide. It is aimed at React developers who want to build map-based interfaces without managing the map library directly.…
Highlights
- React components for MapLibre and Mapbox
- Overlay API for markers and layers
- Part of vis.gl and the OpenJS Foundation
- Needs React 16.3 or later
- Documentation and examples
Ratings & Reviews
No ratings yet
Be the first to rate react-map-gl.
People also visit

google-map-react
Isomorphic component that allows rendering react components on a google map
react-map-gl FAQ
What is react-map-gl?
It is a React library that provides components for building interactive maps with Mapbox GL JS or MapLibre GL JS.
What do I need to use it?
The project says it requires React 16.3 or later.
How do I start?
Follow the installation steps and the example in the documentation, and the getting started guide walks you through the basics.
Where is the code?
The repository is public on GitHub under visgl/react-map-gl, with a contribution guide.
What are the best react-map-gl alternatives?
Popular alternatives to react-map-gl include react-mapbox-gl, @react-google-maps/api and google-map-react. See all react-map-gl alternatives

















