diff options
Diffstat (limited to 'web/app/view/map/MapController.js')
-rw-r--r-- | web/app/view/map/MapController.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/app/view/map/MapController.js b/web/app/view/map/MapController.js index e9757daac..0d5176d09 100644 --- a/web/app/view/map/MapController.js +++ b/web/app/view/map/MapController.js @@ -143,12 +143,16 @@ Ext.define('Traccar.view.map.MapController', { vectorSource.addFeature(this.reportFinish); }, + selectPosition: function(position) { + console.log(position); // DELME + }, + selectDevice: function(device) { console.log(device); // DELME }, selectReport: function(position) { - console.log(position); // DELME + this.selectPosition(position); } }); |