[OpenLayers-Commits] r11157 - trunk/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Sun Feb 20 12:31:46 EST 2011


Author: tschaub
Date: 2011-02-20 09:31:46 -0800 (Sun, 20 Feb 2011)
New Revision: 11157

Added:
   trunk/openlayers/examples/mobile.html
Log:
A framework-less example that will soon work.

Added: trunk/openlayers/examples/mobile.html
===================================================================
--- trunk/openlayers/examples/mobile.html	                        (rev 0)
+++ trunk/openlayers/examples/mobile.html	2011-02-20 17:31:46 UTC (rev 11157)
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>OpenLayers Mobile</title>
+        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <script src="../lib/OpenLayers.js"></script>
+        <script src="mobile.js"></script>
+        <style>
+            html, body {
+                margin: 0;
+                padding: 0;
+                height: 100%;
+            }
+            #map {
+                position: relative;
+                width: 100%;
+                height: 100%;
+            }
+            .olControlAttribution {
+                font-size: 10px;
+                bottom: 5px;
+                right: 5px;
+            }
+        </style>
+    </head>
+    <body>
+        <div id="map"></div>
+        <script>
+            init();
+        </script>
+    </body>
+</html>



More information about the Commits mailing list