aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/CommonUserAttributes.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-30 08:51:25 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-30 08:51:25 +0500
commite314abba557cc8b87e67b6399f52b833e7de0751 (patch)
treea40e85a8b1237a881e3ac385dd3f68714108cac4 /web/app/store/CommonUserAttributes.js
parentff374f3fb794d75b6657421ee1653f810f2ef4b4 (diff)
downloadtrackermap-web-e314abba557cc8b87e67b6399f52b833e7de0751.tar.gz
trackermap-web-e314abba557cc8b87e67b6399f52b833e7de0751.tar.bz2
trackermap-web-e314abba557cc8b87e67b6399f52b833e7de0751.zip
Add Max Zoom attribute
Diffstat (limited to 'web/app/store/CommonUserAttributes.js')
-rw-r--r--web/app/store/CommonUserAttributes.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/store/CommonUserAttributes.js b/web/app/store/CommonUserAttributes.js
index 85d652df..d07d955d 100644
--- a/web/app/store/CommonUserAttributes.js
+++ b/web/app/store/CommonUserAttributes.js
@@ -32,6 +32,13 @@ Ext.define('Traccar.store.CommonUserAttributes', {
minValue: Traccar.Style.mapDefaultZoom,
maxValue: Traccar.Style.mapMaxZoom
}, {
+ key: 'web.maxZoom',
+ name: Strings.attributeWebMaxZoom,
+ valueType: 'number',
+ allowDecimals: false,
+ minValue: Traccar.Style.mapDefaultZoom,
+ maxValue: Traccar.Style.mapMaxZoom
+ }, {
key: 'ui.disableReport',
name: Strings.attributeUiDisableReport,
valueType: 'boolean'