aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/usePositionAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-18 18:44:15 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-18 18:44:15 -0700
commit5c5648dea3a80b0135b579706f5e1ff1dedb47dd (patch)
treefb87e0b24e3b5e519ef55f685c274442a43b07ec /modern/src/common/attributes/usePositionAttributes.js
parentef09d6ace123487692261c7b571f1dfe508b114a (diff)
downloadtrackermap-web-5c5648dea3a80b0135b579706f5e1ff1dedb47dd.tar.gz
trackermap-web-5c5648dea3a80b0135b579706f5e1ff1dedb47dd.tar.bz2
trackermap-web-5c5648dea3a80b0135b579706f5e1ff1dedb47dd.zip
Show media links
Diffstat (limited to 'modern/src/common/attributes/usePositionAttributes.js')
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index 1eb9d067..1919b862 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -340,4 +340,16 @@ export default (t) => useMemo(() => ({
name: t('attributeColor'),
type: 'string',
},
+ image: {
+ name: t('positionImage'),
+ type: 'string',
+ },
+ video: {
+ name: t('positionVideo'),
+ type: 'string',
+ },
+ audio: {
+ name: t('positionAudio'),
+ type: 'string',
+ },
}), [t]);