This commit is contained in:
Swrup 2022-04-12 13:46:37 +02:00
parent 9db5cdfd22
commit e7e40c3ce9
13 changed files with 33 additions and 7 deletions

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type _ t =
| Keyboard : Jv.t -> [> `Keyboard ] t
| Mouse : Jv.t -> [> `Mouse ] t

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type _ t =
| Keyboard : Jv.t -> [> `Keyboard ] t
| Mouse : Jv.t -> [> `Mouse ] t

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
let leaflet =
match Jv.(find global "L") with
| Some l -> l

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type t = Jv.t
let create lat lng =

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type t
val create : float -> float -> t

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type _ t =
| Basic : Jv.t -> [> `Basic ] t
| Geojson : Jv.t -> [> `Geojson ] t

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type _ t =
| Basic : Jv.t -> [> `Basic ] t
| Geojson : Jv.t -> [> `Geojson ] t

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type t = Jv.t
let of_jv = Fun.id

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type t
val create : ?options:Jv.t -> string -> t

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type t = Jv.t
let popup = Jv.call Global.leaflet "popup" [||]

View file

@ -1,3 +1,5 @@
(* BSD-2-Clause License *)
type t
val set_latlng : Latlng.t -> unit