-> Latlng.create ~lat ~lng
This commit is contained in:
parent
b9c6864ef1
commit
1118889253
4 changed files with 4 additions and 4 deletions
|
|
@ -8,5 +8,5 @@ let () =
|
|||
Leaflet.Layer.add_to map osm_layer;
|
||||
|
||||
(* set view *)
|
||||
let latlng = Leaflet.Latlng.create 40.71 (-74.0) in
|
||||
let latlng = Leaflet.Latlng.create ~lat:40.71 ~lng:(-74.0) in
|
||||
ignore @@ Leaflet.Map.set_view latlng ~zoom:(Some 13) map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue