aboutsummaryrefslogtreecommitdiff
path: root/web/m/app.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-10 16:11:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-10 16:11:02 +1200
commit2a06a5f831e7abfe893c1c9efd0fd1e88fe90ea3 (patch)
treed997d26719910f92168df5e6884972326ca4e7f5 /web/m/app.js
parentc70951d846f8155add948782e6eac5555b62404e (diff)
downloadtrackermap-server-2a06a5f831e7abfe893c1c9efd0fd1e88fe90ea3.tar.gz
trackermap-server-2a06a5f831e7abfe893c1c9efd0fd1e88fe90ea3.tar.bz2
trackermap-server-2a06a5f831e7abfe893c1c9efd0fd1e88fe90ea3.zip
Remove mobile web interface
Diffstat (limited to 'web/m/app.js')
-rw-r--r--web/m/app.js47
1 files changed, 0 insertions, 47 deletions
diff --git a/web/m/app.js b/web/m/app.js
deleted file mode 100644
index 744bd22bf..000000000
--- a/web/m/app.js
+++ /dev/null
@@ -1,47 +0,0 @@
-var mapPanel, toolbar, map;
-
-Ext.application({
- name: "Traccar",
-
- launch: function() {
-
- toolbar = Ext.create('Ext.Toolbar', {
- docked: 'top',
- ui: 'light',
- title: 'Traccar'
- });
-
- mapPanel = Ext.create('Ext.Panel', {
- listeners: {
- painted: function() {
-
- var layer = new ol.layer.Tile({ source: new ol.source.OSM({
- })});
-
- var view = new ol.View({
- center: ol.proj.fromLonLat([ -0.1275, 51.507222 ]),
- zoom: 6,
- maxZoom: 16
- });
-
- map = new ol.Map({
- target: this.bodyElement.dom.id,
- layers: [ layer ],
- view: view
- });
- },
-
- resize: function() {
- map.updateSize();
- }
- }
- });
-
- Ext.create('Ext.Panel', {
- fullscreen: true,
- layout: 'fit',
- items: [toolbar, mapPanel]
- });
-
- }
-});