diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-01 16:41:28 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-01 16:41:28 -0700 |
commit | a15dd2a6a947672b576f474ad80a8902f1fb2ac2 (patch) | |
tree | bd6a9dea7eca449eccc18745aa175c7eb7bdc177 /modern/src/common | |
parent | 0bad707fd781a665426926d19d9775a9b0cca90b (diff) | |
download | trackermap-web-a15dd2a6a947672b576f474ad80a8902f1fb2ac2.tar.gz trackermap-web-a15dd2a6a947672b576f474ad80a8902f1fb2ac2.tar.bz2 trackermap-web-a15dd2a6a947672b576f474ad80a8902f1fb2ac2.zip |
Support icon scaling (fix #799)
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/attributes/useCommonUserAttributes.js | 4 |
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]); |