copy over newOptions, don't re-copy all of the old options

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1653 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-10-06 16:11:38 +00:00
parent 53d2fd3033
commit 6387b71d88

View File

@@ -174,7 +174,7 @@ OpenLayers.Layer.prototype = {
OpenLayers.Util.extend(this.options, newOptions);
// add new options to this
OpenLayers.Util.extend(this, this.options);
OpenLayers.Util.extend(this, newOptions);
},
/**