Add nogo button to routing bar
This commit is contained in:
parent
512c0cc712
commit
ce32c0da71
2 changed files with 9 additions and 6 deletions
|
|
@ -89,8 +89,6 @@
|
|||
'Clear route'
|
||||
);
|
||||
|
||||
drawToolbar = L.easyBar([drawButton, deleteButton]).addTo(map);
|
||||
|
||||
function updateRoute(evt) {
|
||||
router.setOptions(evt.options);
|
||||
|
||||
|
|
@ -233,6 +231,7 @@
|
|||
}
|
||||
|
||||
nogos.addTo(map);
|
||||
drawToolbar = L.easyBar([drawButton, nogos.getButton(), deleteButton]).addTo(map);
|
||||
nogos.preventRoutePointOnCreate(routing);
|
||||
|
||||
map.addControl(new BR.OpacitySlider({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue