make buttons, etc. bigger when on a touch-enabled device (Mozilla-specific right...
[lantea.git] / index.html
index 4f8643bf15df7715647524de56d7d1270f7e9cc1..9ba8e18168b91cd3c9cb40ebeae6fb9d9ebf5a01 100644 (file)
@@ -6,7 +6,10 @@
 <html manifest="manifest.appcache">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-  <title>Lantea Map</title>
+  <!-- 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">
@@ -26,6 +29,8 @@
 <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="debugHideX">
 <input type="button" id="clearTrackButton" value="Clear"
        onclick="clearTrack();"><br/>
 <input type="checkbox" id="trackCheckbox"
@@ -45,12 +50,12 @@ Map style:
 </fieldset>
 </div>
 
+<p id="debug" class="debugHide"></p>
+<p id="copyright"></p>
+
 <canvas id="map" width="500" height="500">
   Please use a browser that supports &lt;canvas&gt; elements.
 </canvas>
 
-<p id="debug"></p>
-<p id="copyright"></p>
-
 </body>
 </html>
\ No newline at end of file