From 9042b859b0953cd4e59e04827d6bda06de59c96d Mon Sep 17 00:00:00 2001 From: NathanMOlson Date: Wed, 24 May 2017 16:35:40 -0700 Subject: [PATCH] Add contextmenu support for L.ImageOverlay --- src/Mixin.ContextMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mixin.ContextMenu.js b/src/Mixin.ContextMenu.js index 4411b98..3c6a06e 100644 --- a/src/Mixin.ContextMenu.js +++ b/src/Mixin.ContextMenu.js @@ -79,7 +79,7 @@ L.Mixin.ContextMenu = { } }; -var classes = [L.Marker, L.Path], +var classes = [L.Marker, L.Path, L.ImageOverlay], defaultOptions = { contextmenu: false, contextmenuItems: [],