diff options
Diffstat (limited to 'web/app/view/map')
-rw-r--r-- | web/app/view/map/BaseMap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js index 0559e0c..30ac23e 100644 --- a/web/app/view/map/BaseMap.js +++ b/web/app/view/map/BaseMap.js @@ -175,7 +175,7 @@ Ext.define('Traccar.view.map.BaseMap', { view: this.mapView }); - switch (Traccar.app.getPreference('distanceUnit', 'km')) { + switch (Traccar.app.getAttributePreference('distanceUnit', 'km')) { case 'mi': this.map.addControl(new ol.control.ScaleLine({ units: 'us' |