close_popup: rm label
This commit is contained in:
parent
a44f13085d
commit
f0a168c8e9
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ let wrap_latlng latlng map =
|
||||||
let open_popup popup map =
|
let open_popup popup map =
|
||||||
ignore @@ Jv.call map "openPopup" [| Popup.to_jv popup |]
|
ignore @@ Jv.call map "openPopup" [| Popup.to_jv popup |]
|
||||||
|
|
||||||
let close_popup ~popup map =
|
let close_popup popup map =
|
||||||
ignore
|
ignore
|
||||||
@@
|
@@
|
||||||
match popup with
|
match popup with
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,4 @@ val to_jv : t -> Jv.t
|
||||||
val open_popup : Popup.t -> t -> unit
|
val open_popup : Popup.t -> t -> unit
|
||||||
|
|
||||||
(* [close_popup opt map] if [opt] is [Some popup] closes [popup] else closes previously opened popup *)
|
(* [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