close_popup: rm label
This commit is contained in:
parent
3b12978c1a
commit
c1abfd7f53
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ let wrap_latlng latlng map =
|
|||
let open_popup popup map =
|
||||
ignore @@ Jv.call map "openPopup" [| Popup.to_jv popup |]
|
||||
|
||||
let close_popup ~popup map =
|
||||
let close_popup popup map =
|
||||
ignore
|
||||
@@
|
||||
match popup with
|
||||
|
|
|
|||
|
|
@ -52,4 +52,4 @@ val to_jv : t -> Jv.t
|
|||
val open_popup : Popup.t -> t -> unit
|
||||
|
||||
(* [close_popup opt map] if [opt] is [Some popup] closes [popup] else closes previously opened popup *)
|
||||
val close_popup : popup:Popup.t option -> t -> unit
|
||||
val close_popup : Popup.t option -> t -> unit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue