[Commits] r488 - sandbox/website/trunk/docsrc/lib/GeoExt/widgets

commits at geoext.org commits at geoext.org
Tue Apr 28 10:55:58 CEST 2009


Author: tschaub
Date: 2009-04-28 10:55:58 +0200 (Tue, 28 Apr 2009)
New Revision: 488

Modified:
   sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
   sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel2.rst
Log:
fewer spaces

Modified: sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
===================================================================
--- sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst	2009-04-28 08:55:32 UTC (rev 487)
+++ sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst	2009-04-28 08:55:58 UTC (rev 488)
@@ -20,7 +20,7 @@
 
 
 .. class:: MapPanel(config)
- 
+
     Create a panel container for a map.
 
 
@@ -29,9 +29,9 @@
 -----------
 
 Sample code to create a panel with a new map:
- 
+
 .. code-block:: javascript
-   
+
     var mapPanel = new GeoExt.MapPanel({
         border: false,
         renderTo: "div-id",
@@ -39,11 +39,11 @@
             maxExtent: new OpenLayers.Bounds(-90, -45, 90, 45)
         }
     });
-   
+
 Sample code to create a map panel with a bottom toolbar in a Window:
- 
+
 .. code-block:: javascript
- 
+
     var win = new Ext.Window({
         title: "My Map",
         items: [{
@@ -64,34 +64,29 @@
 
 .. describe:: center
 
-      
     ``OpenLayers.LonLat or Array(Number)``  A location for the map center.  If
     an array is provided, the first two items should represent x & y coordinates.
 
 .. describe:: extent
 
-      
     ``OpenLayers.Bounds or Array(Number)``  An initial extent for the map (used
     if center and zoom are not provided.  If an array, the first four items
     should be minx, miny, maxx, maxy.
 
 .. describe:: layers
 
-     
     ``GeoExt.data.LayerStore or GeoExt.data.GroupingStore or Array(OpenLayers.Layer)``
     A store holding records. If not provided, an empty
     :class:`GeoExt.data.LayerStore` will be created.
 
 .. describe:: map
 
-     
     ``OpenLayers.Map or Object``  A configured map or a configuration object
     for the map constructor.  A configured map will be available after
     construction through the :attr:`map` property.
 
 .. describe:: zoom
 
-      
     ``Number``  An initial zoom level for the map.
 
 
@@ -106,13 +101,11 @@
 
 .. attribute:: MapPanel.layers
 
-          
     :class:`GeoExt.data.LayerStore`  A store containing
     :class:`GeoExt.data.LayerRecord` objects.
 
 .. attribute:: MapPanel.map
 
-    
     ``OpenLayers.Map``  A configured map object.
 
 

Modified: sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel2.rst
===================================================================
--- sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel2.rst	2009-04-28 08:55:32 UTC (rev 487)
+++ sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel2.rst	2009-04-28 08:55:58 UTC (rev 488)
@@ -42,13 +42,11 @@
 
 .. describe:: center
 
-      
     ``OpenLayers.LonLat or Array(Number)``  A location for the map center.  If
     an array is provided, the first two items should represent x & y coordinates.
 
 .. describe:: extent
 
-      
     ``OpenLayers.Bounds or Array(Number)``  An initial extent for the map (used
     if center and zoom are not provided.  If an array, the first four items
     should be minx, miny, maxx, maxy.
@@ -59,21 +57,18 @@
 
 .. describe:: layers
 
-     
     ``GeoExt.data.LayerStore or GeoExt.data.GroupingStore or Array(OpenLayers.Layer)``
     A store holding records. If not provided, an empty
     :class:`GeoExt.data.LayerStore` will be created.
 
 .. describe:: map
 
-     
     ``OpenLayers.Map or Object``  A configured map or a configuration object
     for the map constructor.  A configured map will be available after
     construction through the :attr:`map` property.
 
 .. describe:: zoom
 
-      
     ``Number``  An initial zoom level for the map.
 
 
@@ -88,13 +83,11 @@
 
 .. attribute:: MapPanel2.layers
 
-          
     :class:`GeoExt.data.LayerStore`  A store containing
     :class:`GeoExt.data.LayerRecord` objects.
 
 .. attribute:: MapPanel2.map
 
-    
     ``OpenLayers.Map``  A configured map object.
 
 



More information about the Commits mailing list