Merge branch 'trial/multiple_servers' into trial/leaflet04
This commit is contained in:
@@ -169,7 +169,7 @@ OSRM.extend( OSRM.HistoryRoute,{
|
||||
}
|
||||
},
|
||||
_buildCall: function(history_id) {
|
||||
var source = OSRM.DEFAULTS.HOST_ROUTING_URL;
|
||||
var source = OSRM.G.active_routing_server_url;
|
||||
source += '?z=' + OSRM.G.map.getZoom() + '&output=json&jsonp=%jsonp';
|
||||
|
||||
if(this._history[history_id].checksum)
|
||||
@@ -190,4 +190,4 @@ OSRM.extend( OSRM.HistoryRoute,{
|
||||
for(var i=0; i<hints.length; i++)
|
||||
this._history[history_id].markers[i].hint = hints[i];
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user