Package Exports
- mapbox-gl-react
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mapbox-gl-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Mapbox-gl-js React Components
Goals
Mapbox-gl-js is a powerful piece of software. For use inside of a React application, the map should have only a thin component layer to preserve the power and flexibility of Mapbox-gl.
The goal of this component collection is to provide a lightweight shim for using Mapbox-gl with React without abstracting too much and maintaining the paradigm already used in the library.
Install
With NPM:
npm install --save-dev mapbox-gl-react
Example
This repository comes with an example usage. You can run it with npm install
and
npm start
.