aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Map.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-07 21:41:51 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-07 21:41:51 +1300
commit7d82aeb8f296a8862e9d64eda029c3184bae089b (patch)
tree90e71661c5befbc47d1e2cd04f0cc0664dfa86e1 /web/app/view/Map.js
parent477375744b788f4ae63cf6cd3812a80b2065a487 (diff)
downloadtrackermap-server-7d82aeb8f296a8862e9d64eda029c3184bae089b.tar.gz
trackermap-server-7d82aeb8f296a8862e9d64eda029c3184bae089b.tar.bz2
trackermap-server-7d82aeb8f296a8862e9d64eda029c3184bae089b.zip
Start map controller refactoring
Diffstat (limited to 'web/app/view/Map.js')
-rw-r--r--web/app/view/Map.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/app/view/Map.js b/web/app/view/Map.js
index 9a032e79f..2c73f4cc5 100644
--- a/web/app/view/Map.js
+++ b/web/app/view/Map.js
@@ -27,6 +27,18 @@ Ext.define('Traccar.view.Map', {
title: Strings.mapTitle,
layout: 'fit',
+ getMap: function () {
+ return this.map;
+ },
+
+ getMapView: function () {
+ return this.mapView;
+ },
+
+ getVectorSource: function () {
+ return this.vectorSource;
+ },
+
listeners: {
afterrender: function () {
var user, server, layer, type, bingKey, vectorLayer, lat, lon, zoom;