bugfix for distance units

This commit is contained in:
DennisSchiefer 2012-08-28 12:29:22 +01:00
parent 65f53b6563
commit 0d13f1f6d7

View File

@ -100,7 +100,7 @@ initDistanceFormatsSelector: function() {
setDistanceFormat: function(type) { setDistanceFormat: function(type) {
if( OSRM.G.active_distance_format == type ) if( OSRM.G.active_distance_format == type )
return; return;
OSRM.active_distance_format = type; OSRM.G.active_distance_format = type;
// change scale control // change scale control
if(OSRM.G.map) { if(OSRM.G.map) {