[OpenLayers-Commits] r11789 - in trunk/openlayers: build examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Mar 30 10:07:57 EDT 2011


Author: erilem
Date: 2011-03-30 07:07:56 -0700 (Wed, 30 Mar 2011)
New Revision: 11789

Modified:
   trunk/openlayers/build/mobile.cfg
   trunk/openlayers/examples/mobile-drawing.html
   trunk/openlayers/examples/mobile-navigation.html
   trunk/openlayers/examples/mobile.html
Log:
make every mobile example rely on the mobile build, and add files to the build for the mobile-drawing example, no functional change

Modified: trunk/openlayers/build/mobile.cfg
===================================================================
--- trunk/openlayers/build/mobile.cfg	2011-03-30 14:06:08 UTC (rev 11788)
+++ trunk/openlayers/build/mobile.cfg	2011-03-30 14:07:56 UTC (rev 11789)
@@ -14,6 +14,11 @@
 OpenLayers/Control/ZoomPanel.js
 OpenLayers/Control/Attribution.js
 OpenLayers/Control/SelectFeature.js
+OpenLayers/Control/DrawFeature.js
+OpenLayers/Control/Panel.js
+OpenLayers/Handler/Point.js
+OpenLayers/Handler/Path.js
+OpenLayers/Handler/Polygon.js
 OpenLayers/Layer/Vector.js
 OpenLayers/Renderer/SVG.js
 OpenLayers/Renderer/Canvas.js

Modified: trunk/openlayers/examples/mobile-drawing.html
===================================================================
--- trunk/openlayers/examples/mobile-drawing.html	2011-03-30 14:06:08 UTC (rev 11788)
+++ trunk/openlayers/examples/mobile-drawing.html	2011-03-30 14:07:56 UTC (rev 11789)
@@ -6,7 +6,7 @@
         <meta name="apple-mobile-web-app-capable" content="yes">
         <link rel="stylesheet" href="style.mobile.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
-        <script src="../lib/OpenLayers.js"></script>
+        <script src="../lib/OpenLayers.js?mobile"></script>
         <script src="mobile-drawing.js"></script>
         <style>
             html, body {

Modified: trunk/openlayers/examples/mobile-navigation.html
===================================================================
--- trunk/openlayers/examples/mobile-navigation.html	2011-03-30 14:06:08 UTC (rev 11788)
+++ trunk/openlayers/examples/mobile-navigation.html	2011-03-30 14:07:56 UTC (rev 11789)
@@ -7,7 +7,7 @@
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
     <link rel="stylesheet" href="style.mobile.css" type="text/css" />
     <link rel="stylesheet" href="style.css" type="text/css" />
-    <script type="text/javascript" src="../lib/OpenLayers.js"></script>
+    <script type="text/javascript" src="../lib/OpenLayers.js?mobile"></script>
     <script type="text/javascript" src="mobile-navigation.js"></script>
   </head>
   <body onload="init()">

Modified: trunk/openlayers/examples/mobile.html
===================================================================
--- trunk/openlayers/examples/mobile.html	2011-03-30 14:06:08 UTC (rev 11788)
+++ trunk/openlayers/examples/mobile.html	2011-03-30 14:07:56 UTC (rev 11789)
@@ -6,7 +6,7 @@
         <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="style.mobile.css" type="text/css">
-        <script src="../lib/OpenLayers.js"></script>
+        <script src="../lib/OpenLayers.js?mobile"></script>
         <script src="mobile.js"></script>
         <style>
             html, body {



More information about the Commits mailing list