make sure setMap() bubbles up correctly to both superclasses

git-svn-id: http://svn.openlayers.org/trunk/openlayers@962 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-18 13:37:04 +00:00
parent e91d0546ee
commit 7651590f7d

View File

@@ -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