small update to simplify code. when this class's initialize() function was changed, this was left as-is but now it can be reverted to just calling the constructor simply. #646
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3029 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -28,9 +28,7 @@ OpenLayers.Tile.WFS.prototype =
|
|||||||
* @param {OpenLayers.Size} size
|
* @param {OpenLayers.Size} size
|
||||||
*/
|
*/
|
||||||
initialize: function(layer, position, bounds, url, size) {
|
initialize: function(layer, position, bounds, url, size) {
|
||||||
var newArguments = arguments;
|
OpenLayers.Tile.prototype.initialize.apply(this, arguments);
|
||||||
newArguments = [layer, position, bounds, null, size];
|
|
||||||
OpenLayers.Tile.prototype.initialize.apply(this, newArguments);
|
|
||||||
this.url = url;
|
this.url = url;
|
||||||
this.features = new Array();
|
this.features = new Array();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user