JSDOC coding standards

git-svn-id: http://svn.openlayers.org/trunk/openlayers@162 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-18 18:48:15 +00:00
parent 6f57cb4736
commit 28fe8c5a88
+20 -6
View File
@@ -1,15 +1,19 @@
/**
* @class
*/
OpenLayers.Layer.WFS = Class.create();
OpenLayers.Layer.WFS.prototype =
Object.extend( new OpenLayers.Layer.Grid(), {
// hash
DEFAULT_PARAMS: {
service: "WFS",
/** @final @type hash */
DEFAULT_PARAMS: { service: "WFS",
version: "1.0.0",
request: "GetFeature",
},
/**
* @constructor
*
* @param {str} name
* @param {str} url
* @param {hash} params
@@ -20,7 +24,12 @@ OpenLayers.Layer.WFS.prototype =
},
/**
* @param
* @param {String} name
* @param {hash} params
*
* @returns A clone of this OpenLayers.Layer.WMS, with the passed-in
* parameters merged in.
* @type OpenLayers.Layer.WMS
*/
clone: function (name, params) {
var mergedParams = {}
@@ -33,9 +42,12 @@ OpenLayers.Layer.WFS.prototype =
/**
* addTile creates a tile, initializes it (via 'draw' in this case), and
* adds it to the layer div. THe tile itself is then returned so that info
* about it can be stored for later reuse.
* adds it to the layer div.
*
* @param {OpenLayers.Bounds} bounds
*
* @returns The added OpenLayers.Tile.Image
* @type OpenLayers.Tile.Image
*/
addTile:function(bounds, position) {
url = this.getFullRequestString(
@@ -49,6 +61,8 @@ OpenLayers.Layer.WFS.prototype =
return tile;
},
/** clear out the layer's main div
*/
_initTiles: function() {
this.div.innerHTML="";
OpenLayers.Layer.Grid.prototype._initTiles.apply(this, arguments);