From e314abba557cc8b87e67b6399f52b833e7de0751 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 30 Aug 2017 08:51:25 +0500 Subject: Add Max Zoom attribute --- web/app/store/CommonUserAttributes.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'web/app/store/CommonUserAttributes.js') diff --git a/web/app/store/CommonUserAttributes.js b/web/app/store/CommonUserAttributes.js index 85d652d..d07d955 100644 --- a/web/app/store/CommonUserAttributes.js +++ b/web/app/store/CommonUserAttributes.js @@ -31,6 +31,13 @@ Ext.define('Traccar.store.CommonUserAttributes', { allowDecimals: false, 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, -- cgit v1.2.3