diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-30 08:51:25 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-30 08:51:25 +0500 |
commit | e314abba557cc8b87e67b6399f52b833e7de0751 (patch) | |
tree | a40e85a8b1237a881e3ac385dd3f68714108cac4 /web/app/store/CommonUserAttributes.js | |
parent | ff374f3fb794d75b6657421ee1653f810f2ef4b4 (diff) | |
download | trackermap-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.js | 7 |
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' |