diff options
Diffstat (limited to 'web/app/view')
-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); |