diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 9e48077965..abd7921de3 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -31,8 +31,8 @@ OpenLayers.Layer.WFS.prototype = * @param {Boolean} zoomChanged */ moveTo: function(bounds, zoomChanged) { - OpenLayers.Layer.Grid.prototype.initialize.apply(this, arguments); - OpenLayers.Layer.Marker.prototype.initialize.apply(this, arguments); + OpenLayers.Layer.Grid.prototype.moveTo.apply(this, arguments); + OpenLayers.Layer.Marker.prototype.moveTo.apply(this, arguments); }, /**