fixed bug with giving a destination in the url
This commit is contained in:
parent
71f55dc30a
commit
ecd04188df
@ -242,7 +242,7 @@ OSRM.parseParameters = function(){
|
||||
|
||||
// case 1: destination given
|
||||
if( params.destination ) {
|
||||
var index = OSRM.G.markers.setTarget( params.destination.latlng );
|
||||
var index = OSRM.G.markers.setTarget( params.destination );
|
||||
if( params.destination_name )
|
||||
document.getElementById("gui-input-target").value = params.destination_name;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user