aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/UserAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-20 18:20:49 +1200
committerGitHub <noreply@github.com>2017-06-20 18:20:49 +1200
commit58eba78776e0ba7f672711268d2c1aaa6d806a85 (patch)
treeb88916492f09fa1d7c0b0625eb4def259faf5cc1 /web/app/store/UserAttributes.js
parent5a6044faac45b377efabe363655ec21790bd955b (diff)
parent8429665c4ba061897e5e225792a2ab7350583c40 (diff)
downloadtrackermap-web-58eba78776e0ba7f672711268d2c1aaa6d806a85.tar.gz
trackermap-web-58eba78776e0ba7f672711268d2c1aaa6d806a85.tar.bz2
trackermap-web-58eba78776e0ba7f672711268d2c1aaa6d806a85.zip
Merge pull request #508 from Abyss777/select_zoom
Implement zoom map on select
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
}]
});