aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ServerDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 10:08:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 10:09:04 +1300
commit08862079e544f2d501427fbb523ef28fc45fce75 (patch)
tree3c0fede85bd5a91dec90064019df112339af6aa5 /web/app/view/ServerDialog.js
parent122947ed42ca4a427f9d2375e91433bf33ae3d77 (diff)
downloadtrackermap-server-08862079e544f2d501427fbb523ef28fc45fce75.tar.gz
trackermap-server-08862079e544f2d501427fbb523ef28fc45fce75.tar.bz2
trackermap-server-08862079e544f2d501427fbb523ef28fc45fce75.zip
Fix map center coords precision
Diffstat (limited to 'web/app/view/ServerDialog.js')
-rw-r--r--web/app/view/ServerDialog.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 8f81bb9b9..da197ffe4 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -63,11 +63,13 @@ Ext.define('Traccar.view.ServerDialog', {
}, {
xtype: 'numberfield',
name: 'latitude',
- fieldLabel: Strings.positionLatitude
+ fieldLabel: Strings.positionLatitude,
+ decimalPrecision: Traccar.Style.coordinatePrecision
}, {
xtype: 'numberfield',
name: 'longitude',
- fieldLabel: Strings.positionLongitude
+ fieldLabel: Strings.positionLongitude,
+ decimalPrecision: Traccar.Style.coordinatePrecision
}, {
xtype: 'numberfield',
name: 'zoom',