0.0.1 • Published 3 years ago

rescript-mapbox-gl v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

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