Changeset 471
- Timestamp:
- 05/30/06 13:54:11 (3 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer/WFS.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer/WFS.js
r445 r471 29 29 initialize: function(name, url, params, featureClass) { 30 30 this.featureClass = featureClass; 31 32 var newArguments = new Array(name, url, params); 31 32 var newArguments = new Array(); 33 if (arguments.length > 0) { 34 newArguments.push(name, url, params); 35 } 33 36 OpenLayers.Layer.Grid.prototype.initialize.apply(this, newArguments); 34 37 OpenLayers.Layer.Markers.prototype.initialize.apply(this, newArguments); 35 36 OpenLayers.Util.applyDefaults(this.params, this.DEFAULT_PARAMS); 38 39 if (arguments.length > 0) { 40 OpenLayers.Util.applyDefaults(this.params, this.DEFAULT_PARAMS); 41 } 37 42 }, 38 43
