aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/usePositionAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/attributes/usePositionAttributes.js')
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index d6ee5805..4b779090 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -16,6 +16,7 @@ export default (t) => useMemo(() => ({
speed: {
name: t('positionSpeed'),
type: 'number',
+ dataType: 'speed',
},
course: {
name: t('positionCourse'),
@@ -28,6 +29,7 @@ export default (t) => useMemo(() => ({
accuracy: {
name: t('positionAccuracy'),
type: 'number',
+ dataType: 'distance',
},
valid: {
name: t('positionValid'),