coordinate method calling of subclasses

git-svn-id: http://svn.openlayers.org/trunk/openlayers@179 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-19 15:05:39 +00:00
parent a5671cd452
commit 9b638d91c6
2 changed files with 15 additions and 3 deletions

View File

@@ -22,9 +22,19 @@ OpenLayers.Layer.WFS.prototype =
*/
initialize: function(name, url, params) {
OpenLayers.Layer.Grid.prototype.initialize.apply(this, arguments);
OpenLayers.Layer.Marker.prototype.initialize.apply(this, arguments);
OpenLayers.Util.applyDefaults(this.params, this.DEFAULT_PARAMS);
},
/**
* @param {OpenLayers.Bounds} bounds
* @param {Boolean} zoomChanged
*/
moveTo: function(bounds, zoomChanged) {
OpenLayers.Layer.Grid.prototype.initialize.apply(this, arguments);
OpenLayers.Layer.Marker.prototype.initialize.apply(this, arguments);
},
/**
* @param {String} name
* @param {hash} params