No description
Find a file
2024-01-29 22:07:41 +01:00
doc add documentation, remove Map.as_target 2022-06-15 17:17:35 +02:00
example -> Latlng.create ~lat ~lng 2024-01-29 20:27:37 +01:00
src move marker to separate module 2024-01-29 22:07:41 +01:00
test make geopub/leaflet a separate library 2022-04-06 18:52:52 +02:00
.gitignore make geopub/leaflet a separate library 2022-04-06 18:52:52 +02:00
.ocamlformat -> Latlng.create ~lat ~lng 2024-01-29 20:27:37 +01:00
CHANGES.md add usage to readme 2022-06-16 00:40:45 +02:00
dune-project add js_of_ocaml to package dependency 2022-06-18 20:47:19 +02:00
leaflet.opam add js_of_ocaml to package dependency 2022-06-18 20:47:19 +02:00
LICENSE.md license 2022-04-12 13:48:27 +02:00
README.md add usage to readme 2022-06-16 00:40:45 +02: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