add icon
This commit is contained in:
parent
d1acabfdcd
commit
db88d3f670
5 changed files with 75 additions and 1 deletions
|
|
@ -9,3 +9,6 @@ let of_jv point =
|
|||
let x = Jv.get point "x" |> Jv.to_int in
|
||||
let y = Jv.get point "y" |> Jv.to_int in
|
||||
{ x; y }
|
||||
|
||||
let to_jv point =
|
||||
Jv.call Global.leaflet "point" [| Jv.of_int point.x; Jv.of_int point.y |]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue