2025-02-06 02:39:52 +01:00
2025-02-06 02:10:02 +01:00
2025-02-06 02:10:02 +01:00
2025-02-06 02:39:52 +01:00
2022-04-12 13:48:27 +02:00
2025-02-06 02:29:02 +01:00

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

Description
No description provided
Readme
0.2 Latest
2025-02-06 02:39:52 +01:00
Languages
OCaml 96.7%
HTML 1.4%
Dune 1.1%
Standard ML 0.8%