[OpenLayers-Commits] r4723 - sandbox/docs/examples

commits at openlayers.org commits at openlayers.org
Mon Oct 1 00:29:00 EDT 2007


Author: crschmidt
Date: 2007-10-01 00:28:59 -0400 (Mon, 01 Oct 2007)
New Revision: 4723

Modified:
   sandbox/docs/examples/navtoolbar.html
Log:
navtoolbar docs.


Modified: sandbox/docs/examples/navtoolbar.html
===================================================================
--- sandbox/docs/examples/navtoolbar.html	2007-10-01 04:26:40 UTC (rev 4722)
+++ sandbox/docs/examples/navtoolbar.html	2007-10-01 04:28:59 UTC (rev 4723)
@@ -9,6 +9,7 @@
         }
         
     </style>
+    <title>NavToolbar Demo</title>
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;
@@ -16,7 +17,7 @@
         var zoom = 5;
         var map, layer;
 
-        function init(){
+        function init() {
             map = new OpenLayers.Map( 'map', { controls: [new OpenLayers.Control.PanZoom()] } );
             layer = new OpenLayers.Layer.WMS( "OpenLayers WMS", 
                     "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
@@ -30,6 +31,11 @@
     </script>
   </head>
   <body onload="init()">
+    <h3 id="title">NavToolbar Demo</h3>
+    <p id="shortdesc">
+       Demo the NavToolbar, a subclass of Control.Panel which shows icons for
+       navigation.
+    </p> 
     <div id="map"></div>
   </body>
 </html>



More information about the Commits mailing list