aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/MapController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-13 18:16:13 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-13 18:16:13 +1200
commit13448f34e263f27610391781d526353791c36026 (patch)
tree07aae3f2f97c3a1329f94ca69930ad97e77c80f3 /web/app/view/map/MapController.js
parentcd86a9e571f64a945e037e054e39d61c59798152 (diff)
downloadtrackermap-server-13448f34e263f27610391781d526353791c36026.tar.gz
trackermap-server-13448f34e263f27610391781d526353791c36026.tar.bz2
trackermap-server-13448f34e263f27610391781d526353791c36026.zip
Add string resources for state
Diffstat (limited to 'web/app/view/map/MapController.js')
-rw-r--r--web/app/view/map/MapController.js6
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);
}
});