From 225068497c5fd41da12030a6bbf58a0fc9c294d0 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 9 Aug 2020 14:44:02 +0200 Subject: Import from CSV --- src/Lib/Leaflet.ml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Lib/Leaflet.ml') diff --git a/src/Lib/Leaflet.ml b/src/Lib/Leaflet.ml index 0cc7976..282b5b0 100644 --- a/src/Lib/Leaflet.ml +++ b/src/Lib/Leaflet.ml @@ -1,6 +1,10 @@ type layer -external map : string -> layer = "map" +type map_options = + { attributionControl : bool + } + +external map : string -> map_options -> layer = "map" [@@bs.val] [@@bs.scope "L"] external setView : layer -> float array -> int -> unit = "setView" -- cgit v1.2.3