0.0.1 • Published 3 years ago
rescript-mapbox-gl v0.0.1
rescript-mapbox-gl
🚧 binding for mapbox-gl-js
Table of Content
Installation
Run the following in your favorit console:
> yarn add rescript-mapbox-gl
TODO
🏗 WIP, 🚧 Isn't implemented
- Map (🏗)
- Properties and Options (🏗)
- Markers and Control (🚧)
- Geography and Geometry (🚧)
- User interaction handlers (🚧)
- Sources (🚧)
- Events (🚧)
Example
open Mapbox
// create Map
let map = Map.make() // new Map.map()
// create Map with Options
let mapWithOpt = Map.makeOptions(~container=Map.id("app-hash-in-dom"), ())->Map.makeWithOption
API
The API closely match with mapbox-gl-js. You can refer to the mapbox-gl-js documentation
Contribution
Feel Free
License
MIT
0.0.1
3 years ago