From bfe1f7eea9d0100e560c12f9743502074fab9c25 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Sat, 18 Jul 2015 18:24:54 +0200 Subject: [PATCH] update to EasyButton v1 signature --- js/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/index.js b/js/index.js index b6661c1..9d5d9b5 100644 --- a/js/index.js +++ b/js/index.js @@ -142,9 +142,8 @@ } }); }, - 'Clear route', - map - ); + 'Clear route' + ).addTo(map); function updateRoute(evt) { router.setOptions(evt.options);