rescript-react-mapbox-gl
Rescript binding for React Map GL.
Table of Contents
Installation
Run the following in your project:
npm install rescript-react-mapbox-gl --save
Then, add rescript-react-mapbox-gl in bsconfig.json
:
-- "bs-dependencies": [],
++ "bs-dependencies": ["rescript-react-mapbox-gl"],
This package includes required peer dependencies and therefore is the only package required to use react-mapbox-gl in your own rescript project.
Usage
Mapbox.Map
Todo
Acknowledgements
Mapbox GL: https://github.com/mapbox/mapbox-gl-js
React Map GL: https://github.com/visgl/react-map-gl