add layer
This commit is contained in:
parent
e99015e335
commit
6e1ac0d96d
11 changed files with 123 additions and 35 deletions
|
|
@ -1,3 +1,5 @@
|
|||
type t = Jv.t
|
||||
|
||||
let popup = Jv.call Global.leaflet "popup" [||]
|
||||
|
||||
let set_latlng latlng =
|
||||
|
|
@ -9,3 +11,5 @@ let set_content content =
|
|||
let open_on map = ignore @@ Jv.call popup "openOn" [| Map.to_jv_t map |]
|
||||
|
||||
let close map = ignore @@ Jv.call (Map.to_jv_t map) "closePopup" [||]
|
||||
|
||||
let of_jv_t = Fun.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue