[Commits] r459 - in sandbox/website/trunk: docsrc/lib/GeoExt/widgets geoext/lib/GeoExt/widgets

commits at geoext.org commits at geoext.org
Fri Apr 24 02:59:50 CEST 2009


Author: tschaub
Date: 2009-04-24 02:59:50 +0200 (Fri, 24 Apr 2009)
New Revision: 459

Modified:
   sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
   sandbox/website/trunk/geoext/lib/GeoExt/widgets/MapPanel.js
Log:
Using keys in bracket notation to order items in docs.

Modified: sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
===================================================================
--- sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst	2009-04-24 00:57:00 UTC (rev 458)
+++ sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst	2009-04-24 00:59:50 UTC (rev 459)
@@ -1,3 +1,4 @@
+
 .. currentmodule:: GeoExt
 
 :class:`GeoExt.MapPanel`
@@ -59,13 +60,19 @@
 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:: 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)``
@@ -73,27 +80,21 @@
     :class:`GeoExt.data.LayerStore` will be created.
 
 
-.. describe:: center
+.. 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.
 
-    ``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
-    if center and zoom are not provided.  If an array, the first four items
-    should be minx, miny, maxx, maxy.
 
 
-
-
-
 Public Properties
 -----------------
 
@@ -101,18 +102,18 @@
 listed for `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_.
 
 
-.. attribute:: MapPanel.map
-
-``OpenLayers.Map``  A configured map object.
-
-
 .. 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/geoext/lib/GeoExt/widgets/MapPanel.js
===================================================================
--- sandbox/website/trunk/geoext/lib/GeoExt/widgets/MapPanel.js	2009-04-24 00:57:00 UTC (rev 458)
+++ sandbox/website/trunk/geoext/lib/GeoExt/widgets/MapPanel.js	2009-04-24 00:59:50 UTC (rev 459)
@@ -9,7 +9,7 @@
  * @include GeoExt/data/LayerStore.js
  */
 
-/** jst: defs
+/** jst: (defs)
  *  module = GeoExt
  *  class = MapPanel
  *  parent_link = `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_
@@ -49,7 +49,7 @@
  */
 GeoExt.MapPanel = Ext.extend(Ext.Panel, {
     
-    /** jst: config[]
+    /** jst: config[map]
      *  .. describe:: map
      *       
      *      ``OpenLayers.Map or Object``  A configured map or a configuration object
@@ -57,14 +57,14 @@
      *      construction through the :attr:`map` property.
      */
 
-    /** jst: properties[]
+    /** jst: properties[map]
      *  .. attribute:: MapPanel.map
      *
      *  ``OpenLayers.Map``  A configured map object.
      */
     map: null,
     
-    /** jst: config[]
+    /** jst: config[layers]
      *  .. describe:: layers
      *  
      *      ``GeoExt.data.LayerStore or GeoExt.data.GroupingStore or Array(OpenLayers.Layer)``
@@ -72,7 +72,7 @@
      *      :class:`GeoExt.data.LayerStore` will be created.
      */
     
-    /** jst: properties[]
+    /** jst: properties[layers]
      *  .. attribute:: MapPanel.layers
      *      
      *      :class:`GeoExt.data.LayerStore`  A store containing
@@ -80,7 +80,7 @@
      */
     layers: null,
     
-    /** jst: config[]
+    /** jst: config[center]
      *  .. describe:: center
      *  
      *      ``OpenLayers.LonLat or Array(Number)``  A location for the map center.  If
@@ -88,14 +88,14 @@
      */
     center: null,
 
-    /** jst: config[]
+    /** jst: config[zoom]
      *  .. describe:: zoom
      *  
      *      ``Number``  An initial zoom level for the map.
      */
     zoom: null,
 
-    /** jst: config[]
+    /** jst: config[extent]
      *  .. describe:: extent
      *  
      *      ``OpenLayers.Bounds or Array(Number)``  An initial extent for the map (used
@@ -203,8 +203,6 @@
 });
 
 /** jst: xtype
- *  .. describe:: xtype
- *  
- *      gx_mappanel
+ *  gx_mappanel
  */
 Ext.reg('gx_mappanel', GeoExt.MapPanel); 



More information about the Commits mailing list