+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ - You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
<!DOCTYPE html>
<html manifest="manifest.appcache">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Lantea</title>
- <!-- script src="js/lantea.js"></script -->
- <!-- link rel="stylesheet" href="style/lantea.css" -->
+ <!-- try to counts default scaling on mobile, see
+ https://developer.mozilla.org/en/Mobile/Viewport_meta_tag -->
+ <meta name="viewport" content="width=device-width, height=device-height, initial-scale=.6667, maximum-scale=.6667">
+ <title>Lantea Maps</title>
+ <script src="js/map.js"></script>
+ <script src="js/ui.js"></script>
+ <link rel="stylesheet" href="style/lantea.css">
+ <link rel="shortcut icon" href="style/lanteaIcon16.png" type="image/png">
</head>
-<body>
-<h1>Lantea</h1>
+<body id="body">
+<h1>Lantea Map</h1>
+
+<div id="menuArea" class="overlayArea">
+<input type="button" id="trackButton" value="Track"
+ onclick="toggleTrackArea();"><br/>
+<fieldset id="trackArea"><legend>Track</legend>
+<input type="button" id="saveTrackButton" value="Save"
+ onclick="saveTrack();">
+<input type="button" id="dumpTrackButton" value="Dump"
+ onclick="saveTrackDump();" class="debugHide">
+<input type="button" id="clearTrackButton" value="Clear"
+ onclick="clearTrack();"><br/>
+<input type="checkbox" id="trackCheckbox"
+ onchange="setTracking(this);">
+<label for="trackCheckbox">Enable tracking</label><br/>
+<input type="checkbox" id="centerCheckbox"
+ onchange="setCentering(this);">
+<label for="centerCheckbox">Center Map</label><br/>
+</fieldset>
+<input type="button" id="settingsButton" value="Settings"
+ onclick="toggleSettings();"><br/>
+<fieldset id="settingsArea"><legend>Settings</legend>
+Map style:
+<select id="mapSelector" onchange="setMapStyle();">
+<!-- option value="osm_mapnik">OpenStreetMap (Mapnik)</option -->
+</select>
+</fieldset>
+</div>
+
+<div id="zoomArea" class="overlayArea">
+<input type="button" id="zoomInButton" value="+"
+ onclick="zoomIn();"><br/>
+<span id="zoomLevel">Z</span><br/>
+<input type="button" id="zoomOutButton" value="-"
+ onclick="zoomOut();">
+</div>
+
+<div id="fullscreenArea" class="overlayArea">
+<!-- other possible characters: ◰ -->
+<input type="button" id="fullscreenButton" value="▣"
+ onclick="toggleFullscreen();">
+</div>
+
+<p id="debug" class="debugHide"></p>
+<p id="copyright" class="overlayArea"></p>
+<canvas id="map" width="500" height="500">
+ Please use a browser that supports <canvas> elements.
+</canvas>
+<canvas id="track" width="500" height="500">
+</canvas>
-</body></html>
\ No newline at end of file
+</body>
+</html>
\ No newline at end of file