OpenLayers OpenLayers

Changeset 3595

Show
Ignore:
Timestamp:
07/05/07 13:54:38 (1 year ago)
Author:
tschaub
Message:

#802 - giving all classes a constructor that don't currently have one - this for Natural Docs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Control/Navigation.js

    r3588 r3595  
    99 *  
    1010 * Class: OpenLayers.Control.Navigation 
     11 * The navigation control handles map browsing with mouse events (dragging, 
     12 *     double-clicking, and scrolling the wheel).  Create a new navigation  
     13 *     control with the <OpenLayers.Control.Navigation> control.   
     14 *  
     15 *     Note that this control is added to the map by default (if no controls  
     16 *     array is sent in the options object to the <OpenLayers.Map>  
     17 *     constructor). 
    1118 *  
    1219 * Inherits: 
     
    3441     */ 
    3542    wheelHandler: null, 
     43 
     44    /** 
     45     * Constructor: OpenLayers.Control.Navigation 
     46     * Create a new navigation control 
     47     *  
     48     * Parameters: 
     49     * options - {Object} An optional object whose properties will be set on 
     50     *                    the control 
     51     */ 
     52    initialize: function(options) { 
     53        OpenLayers.Control.prototype.initialize.apply(this, arguments); 
     54    }, 
    3655 
    3756    /** 
  • trunk/openlayers/lib/OpenLayers/Format/GML.js

    r3545 r3595  
    1010 * 
    1111 * Class: OpenLayers.Format.GML 
    12  * Read/Wite GML.  
     12 * Read/Wite GML. Create a new instance with the <OpenLayers.Format.GML> 
     13 *     constructor. 
    1314 *  
    1415 * Inherits from: 
     
    6667    extractAttributes: true, 
    6768     
     69     
     70    /** 
     71     * Constructor: OpenLayers.Format.GML 
     72     * Create a new parser for GML 
     73     * 
     74     * Parameters: 
     75     * options - {Object} An optional object whose properties will be set on 
     76     *                    this instance. 
     77     */ 
     78    initialize: function(options) { 
     79        OpenLayers.Format.prototype.initialize.apply(this, [options]); 
     80    }, 
     81 
    6882    /** 
    6983     * APIMethod: read 
  • trunk/openlayers/lib/OpenLayers/Format/GeoRSS.js

    r3545 r3595  
    77 * 
    88 * Class: OpenLayers.Format.GeoRSS 
    9  * Write-only GeoRSS.  
     9 * Write-only GeoRSS. Create a new instance with the  
     10 *     <OpenLayers.Format.GeoRSS> constructor. 
    1011 * 
    1112 * Inherits from: 
     
    3435    georssns: "http://www.georss.org/georss", 
    3536     
     37     
     38    /** 
     39     * Constructor: OpenLayers.Format.GeoRSS 
     40     * Create a new parser for GeoRSS 
     41     * 
     42     * Parameters: 
     43     * options - {Object} An optional object whose properties will be set on 
     44     *                    this instance. 
     45     */ 
     46    initialize: function(options) { 
     47        OpenLayers.Format.prototype.initialize.apply(this, [options]); 
     48    }, 
     49 
    3650    /** 
    3751     * APIMethod: write 
  • trunk/openlayers/lib/OpenLayers/Format/KML.js

    r3545 r3595  
    1010 * Class: OpenLayers.Format.KML 
    1111 * Read only KML. Largely Proof of Concept: does not support advanced Features, 
    12  * including Polygons. 
     12 *     including Polygons.  Create a new instance with the  
     13 *     <OpenLayers.Format.KML> constructor. 
    1314 * 
    1415 * Inherits from: 
     
    2526    kmlns: "http://earth.google.com/kml/2.0", 
    2627     
     28    /** 
     29     * Constructor: OpenLayers.Format.KML 
     30     * Create a new parser for KML 
     31     * 
     32     * Parameters: 
     33     * options - {Object} An optional object whose properties will be set on 
     34     *                    this instance. 
     35     */ 
     36    initialize: function(options) { 
     37        OpenLayers.Format.prototype.initialize.apply(this, [options]); 
     38    }, 
     39 
    2740    /** 
    2841     * APIMethod: read