add documentation, remove Map.as_target

This commit is contained in:
Swrup 2022-05-19 22:42:28 +02:00
parent 68ee03bead
commit 38c0d5ef53
7 changed files with 50 additions and 19 deletions

View file

@ -2,12 +2,17 @@
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