Simple to use with declarative API WebGl Mapbox map in React.

React wrapper for mapbox-gl-js. Expose a bunch of component meant to be simple to use for React. It is important to understand the difference between the components Map, Layer, GeoJsonLayer, Source, Feature (proxy between React and Mapbox API) and the components Marker, Popup, Cluster, ZoomControl, ScaleControl, RotationControl which are real React components.


How to start

npm install react-mapbox-gl mapbox-gl --save

Live Demo