diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-09 17:03:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-09 17:03:02 +1300 |
commit | b204307a34b8eeddd8653949465b2864b0fdf2a5 (patch) | |
tree | 9584f5707bd49f9543a7068e8474f1dc0a2f7e06 /web/app/view/MapController.js | |
parent | 3d05dfd49802696882bc77165e48b3b4db6d1603 (diff) | |
download | trackermap-server-b204307a34b8eeddd8653949465b2864b0fdf2a5.tar.gz trackermap-server-b204307a34b8eeddd8653949465b2864b0fdf2a5.tar.bz2 trackermap-server-b204307a34b8eeddd8653949465b2864b0fdf2a5.zip |
Show fix time for report locations
Diffstat (limited to 'web/app/view/MapController.js')
-rw-r--r-- | web/app/view/MapController.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js index 7abce1ff5..bc8ca843c 100644 --- a/web/app/view/MapController.js +++ b/web/app/view/MapController.js @@ -110,7 +110,9 @@ Ext.define('Traccar.view.MapController', { style = this.getReportMarker(); style.getImage().setRotation(position.get('course') * 180 / Math.PI); - // style.getText().setText('2000-01-01 00:00:00'); // TODO show time + style.getText().setText( + Ext.Date.format(position.get('fixTime'), Traccar.Style.dateTimeFormat)); + marker.setStyle(style); this.reportRoute.getGeometry().appendCoordinate(point); |