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

commits at geoext.org commits at geoext.org
Thu Apr 23 02:31:39 CEST 2009


Author: tschaub
Date: 2009-04-23 02:31:39 +0200 (Thu, 23 Apr 2009)
New Revision: 448

Modified:
   sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
Log:
And the updated rst source - generated by build tool so doesn't need to be in svn.

Modified: sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
===================================================================
--- sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst	2009-04-23 00:27:23 UTC (rev 447)
+++ sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst	2009-04-23 00:31:39 UTC (rev 448)
@@ -1,31 +1,34 @@
 .. currentmodule:: GeoExt
 
 :class:`GeoExt.MapPanel`
-========================
+=================================
 
 .. class:: MapPanel(config)
-
+ 
     Create a panel container for a map.
 
-    .. describe:: xtype
-    
-        gx_mappanel
 
-    .. rubric:: Extends
-    
-    * `Ext.Panel`_
-    
 
-.. _`Ext.Panel`: http://extjs.com/deploy/dev/docs/?class=Ext.Panel
+.. rubric:: Extends
 
+* `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_
 
+
+
+.. describe:: xtype
+
+    gx_mappanel
+
+
+
+
 Example Use
 -----------
 
 Sample code to create a panel with a new map:
-
+ 
 .. code-block:: javascript
-    
+   
     var mapPanel = new GeoExt.MapPanel({
         border: false,
         renderTo: "div-id",
@@ -33,11 +36,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: [{
@@ -45,34 +48,42 @@
             bbar: new Ext.Toolbar()
         }]
     });
+
     
 
+
 Config Options
 --------------
 
-Configuration properties in addition to those listed for `Ext.Panel`_.
+Configuration properties in addition to
+those listed for `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_.
 
+
 .. 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:: 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:: 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:: zoom
 
     ``Number``  An initial zoom level for the map.
 
+
 .. describe:: extent
 
     ``OpenLayers.Bounds or Array(Number)``  An initial extent for the map (used
@@ -80,16 +91,28 @@
     should be minx, miny, maxx, maxy.
 
 
+
+
+
 Public Properties
 -----------------
 
-Public properties in addition to those listed for `Ext.Panel`_.
+Public properties in addition to those
+listed for `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_.
 
+
 .. attribute:: MapPanel.map
-    
-    ``OpenLayers.Map``  A configured map object.
 
+``OpenLayers.Map``  A configured map object.
+
+
 .. attribute:: MapPanel.layers
     
     :class:`GeoExt.data.LayerStore`  A store containing
     :class:`GeoExt.data.LayerRecord` objects.
+
+
+
+
+
+



More information about the Commits mailing list