From fc408a9ad93ebef686453be0d6565a5e630bf476 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 8 Oct 2016 16:29:02 +1300 Subject: Add nautical mile support --- web/app/store/DistanceUnits.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/app/store') diff --git a/web/app/store/DistanceUnits.js b/web/app/store/DistanceUnits.js index df0bb472..276da0e7 100644 --- a/web/app/store/DistanceUnits.js +++ b/web/app/store/DistanceUnits.js @@ -27,6 +27,10 @@ Ext.define('Traccar.store.DistanceUnits', { key: 'mi', name: Strings.sharedMi, factor: 0.000621371 + }, { + key: 'nmi', + name: Strings.sharedNmi, + factor: 0.000539957 }], formatValue: function (value, unit) { -- cgit v1.2.3