aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useCommonUserAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-01 16:41:28 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-01 16:41:28 -0700
commita15dd2a6a947672b576f474ad80a8902f1fb2ac2 (patch)
treebd6a9dea7eca449eccc18745aa175c7eb7bdc177 /modern/src/common/attributes/useCommonUserAttributes.js
parent0bad707fd781a665426926d19d9775a9b0cca90b (diff)
downloadtrackermap-web-a15dd2a6a947672b576f474ad80a8902f1fb2ac2.tar.gz
trackermap-web-a15dd2a6a947672b576f474ad80a8902f1fb2ac2.tar.bz2
trackermap-web-a15dd2a6a947672b576f474ad80a8902f1fb2ac2.zip
Support icon scaling (fix #799)
Diffstat (limited to 'modern/src/common/attributes/useCommonUserAttributes.js')
-rw-r--r--modern/src/common/attributes/useCommonUserAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useCommonUserAttributes.js b/modern/src/common/attributes/useCommonUserAttributes.js
index c813a912..e64299bd 100644
--- a/modern/src/common/attributes/useCommonUserAttributes.js
+++ b/modern/src/common/attributes/useCommonUserAttributes.js
@@ -77,4 +77,8 @@ export default (t) => useMemo(() => ({
name: t('attributeWebMaxZoom'),
type: 'number',
},
+ iconScale: {
+ name: t('sharedIconScale'),
+ type: 'number',
+ },
}), [t]);