leaflet/src/popup.mli

19 lines
466 B
OCaml
Raw Normal View History

2022-04-12 13:46:37 +02:00
(* BSD-2-Clause License *)
2022-04-08 13:21:20 +02:00
type t
(** [set_latlng latlng] changes the popup position to the given point*)
2022-04-07 14:45:11 +02:00
val set_latlng : Latlng.t -> unit
(** [set_content s] changes the popup content to [s]*)
2022-04-07 14:45:11 +02:00
val set_content : string -> unit
(** [open_on map] * Adds the popup to [map] and closes the previous one. *)
2022-04-07 14:45:11 +02:00
val open_on : Map.t -> unit
(** [close map] * closes the popup of [map]*)
2022-04-07 14:45:11 +02:00
val close : Map.t -> unit
2022-04-08 13:21:20 +02:00
(** [of_jv jv] is [jv] as {!t} *)
2022-04-09 22:21:22 +02:00
val of_jv : Jv.t -> t