bugfix for distance units
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user