aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/UserAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store/UserAttributes.js')
-rw-r--r--web/app/store/UserAttributes.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js
index da05d5c8..91a54d04 100644
--- a/web/app/store/UserAttributes.js
+++ b/web/app/store/UserAttributes.js
@@ -72,5 +72,12 @@ Ext.define('Traccar.store.UserAttributes', {
name: Strings.attributeWebLiveRouteLength,
valueType: 'number',
allowDecimals: false
+ }, {
+ key: 'web.selectZoom',
+ name: Strings.attributeWebSelectZoom,
+ valueType: 'number',
+ allowDecimals: false,
+ minValue: Traccar.Style.mapDefaultZoom,
+ maxValue: Traccar.Style.mapMaxZoom
}]
});