Export waypoints from BRouter-web interface. Counterpart of https://github.com/abrensch/brouter/pull/170
This commit is contained in:
parent
ea9cc49dd4
commit
c1169c5c6a
5 changed files with 42 additions and 8 deletions
|
|
@ -45,8 +45,14 @@ BR.Export = L.Class.extend({
|
|||
exportForm['format'].value ||
|
||||
$('#export-format input:radio:checked').val();
|
||||
var name = encodeURIComponent(exportForm['trackname'].value);
|
||||
var exportWaypoints = exportForm['export-waypoints'].checked;
|
||||
|
||||
var uri = this.router.getUrl(this.latLngs, format, name);
|
||||
var uri = this.router.getUrl(
|
||||
this.latLngs,
|
||||
format,
|
||||
name,
|
||||
exportWaypoints
|
||||
);
|
||||
|
||||
var evt = document.createEvent('MouseEvents');
|
||||
evt.initMouseEvent(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue