diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-10 14:53:58 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-10 14:53:58 +1200 |
commit | e6fbff254dcd4d7e1a1f5da6c5f847d84403dea2 (patch) | |
tree | ad859b6ad2c0189af5b1139cfca2176f39b64596 /webm | |
parent | c47057df70a9322dad794d160582d8b84115b5c9 (diff) | |
download | trackermap-server-e6fbff254dcd4d7e1a1f5da6c5f847d84403dea2.tar.gz trackermap-server-e6fbff254dcd4d7e1a1f5da6c5f847d84403dea2.tar.bz2 trackermap-server-e6fbff254dcd4d7e1a1f5da6c5f847d84403dea2.zip |
Move mobile interface directory
Diffstat (limited to 'webm')
-rw-r--r-- | webm/app.js | 47 | ||||
-rw-r--r-- | webm/index.html | 13 |
2 files changed, 0 insertions, 60 deletions
diff --git a/webm/app.js b/webm/app.js deleted file mode 100644 index 744bd22bf..000000000 --- a/webm/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] - }); - - } -}); diff --git a/webm/index.html b/webm/index.html deleted file mode 100644 index aa7930ff0..000000000 --- a/webm/index.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE HTML> -<html> -<head> -<title>Traccar</title> -<link rel="stylesheet" href="//cdn.sencha.com/touch/sencha-touch-2.4.1/resources/css/sencha-touch.css"> -<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/ol3/3.5.0/ol.css"> -<script type="text/javascript" src="//cdn.sencha.com/touch/sencha-touch-2.4.1/sencha-touch-all-debug.js"></script> -<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/ol3/3.5.0/ol-debug.js"></script> -<script type="text/javascript" src="app.js"></script> -</head> -<body> -</body> -</html> |