From 7651590f7d983326069e00fa2e589fa0ff519086 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 18 Jul 2006 13:37:04 +0000 Subject: [PATCH] make sure setMap() bubbles up correctly to both superclasses git-svn-id: http://svn.openlayers.org/trunk/openlayers@962 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WFS.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 6271dd80d3..a75cf9f2b7 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -65,6 +65,14 @@ OpenLayers.Layer.WFS.prototype = OpenLayers.Layer.Markers.prototype.destroy.apply(this, arguments); }, + /** + * @param {OpenLayers.Map} map + */ + setMap: function(map) { + OpenLayers.Layer.Grid.prototype.setMap.apply(this, arguments); + OpenLayers.Layer.Markers.prototype.setMap.apply(this, arguments); + }, + /** * @param {OpenLayers.Bounds} bounds * @param {Boolean} zoomChanged