aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/admin/ServerDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-21 22:30:43 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-21 22:30:43 +1200
commit18db690688e73f94061ae7d1498144c2e6f89653 (patch)
treed2456413269feaf89370fed493e969e050d8bfd4 /web/app/view/admin/ServerDialog.js
parenta92dc851b8c8cd9d2506adecd21f708a8313ce17 (diff)
downloadtrackermap-server-18db690688e73f94061ae7d1498144c2e6f89653.tar.gz
trackermap-server-18db690688e73f94061ae7d1498144c2e6f89653.tar.bz2
trackermap-server-18db690688e73f94061ae7d1498144c2e6f89653.zip
Add map types store
Diffstat (limited to 'web/app/view/admin/ServerDialog.js')
-rw-r--r--web/app/view/admin/ServerDialog.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/view/admin/ServerDialog.js b/web/app/view/admin/ServerDialog.js
index cc1fe2918..12170dc03 100644
--- a/web/app/view/admin/ServerDialog.js
+++ b/web/app/view/admin/ServerDialog.js
@@ -37,6 +37,13 @@ Ext.define('Traccar.view.admin.ServerDialog', {
fieldLabel: strings.server_registration,
allowBlank: false
}, {
+ xtype: 'combobox',
+ name: 'map',
+ fieldLabel: strings.map_layer,
+ store: 'MapTypes',
+ displayField: 'name',
+ valueField: 'key'
+ }, {
xtype: 'numberfield',
name: 'latitude',
fieldLabel: strings.position_latitude