From 081e6aae57719c15bdbc5e973ca7ddba9506a4bb Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 8 Aug 2020 12:49:03 +0200 Subject: Show context menu to add, modify and delete markers --- src/Lib/Leaflet.ml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Lib/Leaflet.ml') diff --git a/src/Lib/Leaflet.ml b/src/Lib/Leaflet.ml index a8a8978..0cc7976 100644 --- a/src/Lib/Leaflet.ml +++ b/src/Lib/Leaflet.ml @@ -16,6 +16,9 @@ type lat_lng = lng : float; } +external original_event : event -> Dom.mouseEvent = "originalEvent" + [@@bs.get] + external lat_lng : event -> lat_lng = "latlng" [@@bs.get] -- cgit v1.2.3