removed global variables. r=fredj (closes #2604)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10280 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2010-05-04 14:51:10 +00:00
parent b0e726b988
commit f38d5e0790

View File

@@ -189,6 +189,7 @@ OpenLayers.Rule = OpenLayers.Class({
var options = OpenLayers.Util.extend({}, this);
// clone symbolizer
options.symbolizer = {};
var value, type;
for(var key in this.symbolizer) {
value = this.symbolizer[key];
type = typeof value;