18 lines
466 B
OCaml
18 lines
466 B
OCaml
(* BSD-2-Clause License *)
|
|
|
|
type t
|
|
|
|
(** [set_latlng latlng] changes the popup position to the given point*)
|
|
val set_latlng : Latlng.t -> unit
|
|
|
|
(** [set_content s] changes the popup content to [s]*)
|
|
val set_content : string -> unit
|
|
|
|
(** [open_on map] * Adds the popup to [map] and closes the previous one. *)
|
|
val open_on : Map.t -> unit
|
|
|
|
(** [close map] * closes the popup of [map]*)
|
|
val close : Map.t -> unit
|
|
|
|
(** [of_jv jv] is [jv] as {!t} *)
|
|
val of_jv : Jv.t -> t
|