update to EasyButton v1 signature
This commit is contained in:
parent
cda09df7c4
commit
bfe1f7eea9
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue