Support beelines in hash url (first stab)
This commit is contained in:
parent
f3d48dc63e
commit
3c8be96085
5 changed files with 50 additions and 10 deletions
|
|
@ -74,7 +74,15 @@ BR.Export = L.Class.extend({
|
|||
link.download = (name || 'brouter') + '.' + format;
|
||||
link.click();
|
||||
} else {
|
||||
var uri = this.router.getUrl(this.latLngs, this.pois.getMarkers(), null, format, nameUri, includeWaypoints);
|
||||
var uri = this.router.getUrl(
|
||||
this.latLngs,
|
||||
null,
|
||||
this.pois.getMarkers(),
|
||||
null,
|
||||
format,
|
||||
nameUri,
|
||||
includeWaypoints
|
||||
);
|
||||
var evt = document.createEvent('MouseEvents');
|
||||
evt.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||
var link = document.createElement('a');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue