No description
Find a file
2026-03-19 21:56:59 +01:00
doc add documentation, remove Map.as_target 2026-03-19 21:56:59 +01:00
example list -> array 2026-03-19 21:56:59 +01:00
src list -> array 2026-03-19 21:56:59 +01:00
test make geopub/leaflet a separate library 2026-03-19 21:54:45 +01:00
.gitignore make geopub/leaflet a separate library 2026-03-19 21:54:45 +01:00
.ocamlformat -> Latlng.create ~lat ~lng 2026-03-19 21:56:59 +01:00
CHANGES.md add usage to readme 2026-03-19 21:56:59 +01:00
dune-project add js_of_ocaml to package dependency 2026-03-19 21:56:59 +01:00
leaflet.opam add js_of_ocaml to package dependency 2026-03-19 21:56:59 +01:00
LICENSE.md license 2026-03-19 21:56:57 +01:00
README.md add usage to readme 2026-03-19 21:56:59 +01:00

leaflet

leaflet is an OCaml bindings library for the Leaflet JavaScript library.

Installation

leaflet can be installed with opam:

opam install leaflet

If 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.

Usage

Have a look at the example folder. The documentation can be consulted via odig doc leaflet.

You will also need leaflet's files (CSS and images).

About

leaflet's original code was taken from a NGI0 funded project