package leaflet

All checked builds pass
  1. Overview
  2. Docs
Bindings for the Leaflet JavaScript library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.2.tar.gz
md5=d386b6700d5a282bc60290d85fe2491b
sha512=19125c0e180603b15357b9a631d6377c6f07ba34e5936e4a5a2a713f461edb7bdaeb22f816a6e49fdfb9b61e5c8b2e25843e0ce97debdc1a400cc32628c243fd

Description

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

README

leaflet

leaflet is an OCaml bindings library for the Leaflet JavaScript library (v1.9.4).

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

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

About

This library started off from the code of a NGI0 funded project

Dependencies (5)

  1. dune-site
  2. js_of_ocaml
  3. brr
  4. ocaml >= "4.08"
  5. dune >= "2.9"

Dev Dependencies (2)

  1. odoc with-doc
  2. tiny_httpd with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building leaflet with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure