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:
@@ -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);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user