update to EasyButton v1 signature

This commit is contained in:
Norbert Renner 2015-07-18 18:24:54 +02:00
parent cda09df7c4
commit bfe1f7eea9

View file

@ -142,9 +142,8 @@
} }
}); });
}, },
'Clear route', 'Clear route'
map ).addTo(map);
);
function updateRoute(evt) { function updateRoute(evt) {
router.setOptions(evt.options); router.setOptions(evt.options);