You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Swrup 05d561dac6 create_geojson need a json object 2 hours ago
doc add documentation, remove Map.as_target 2 years ago
example list -> array 6 months ago
src create_geojson need a json object 2 hours ago
test make geopub/leaflet a separate library 2 years ago
.gitignore make geopub/leaflet a separate library 2 years ago
.ocamlformat ocamlformat 2 weeks ago
CHANGES.md add usage to readme 2 years ago
LICENSE.md license 2 years ago
README.md add usage to readme 2 years ago
dune-project add js_of_ocaml to package dependency 2 years ago
leaflet.opam add js_of_ocaml to package dependency 2 years ago

README.md

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