leaflet is an OCaml bindings library for the Leaflet JavaScript library (v1.9.4).
leaflet can be installed with opam:
opam install leafletIf you don't have opam, you can install it following the how to install opam guide.
If you can't or don't want to use opam, consult the opam file for build instructions.
The library use dune-site to install leaflet's files (CSS and images).
Have a look at the example folder. It use tiny_httpd to provide a simple web page with a map that use OpenStreetMap tiles:
dune build @install
dune exec example/server.exeThis library started off from the code of a NGI0 funded project