bugfix for distance units
This commit is contained in:
parent
65f53b6563
commit
0d13f1f6d7
@ -100,7 +100,7 @@ initDistanceFormatsSelector: function() {
|
||||
setDistanceFormat: function(type) {
|
||||
if( OSRM.G.active_distance_format == type )
|
||||
return;
|
||||
OSRM.active_distance_format = type;
|
||||
OSRM.G.active_distance_format = type;
|
||||
|
||||
// change scale control
|
||||
if(OSRM.G.map) {
|
||||
|
Loading…
Reference in New Issue
Block a user