id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	state
2232	RegularPolygon handler : style	paco	tschaub	"Revision number : 9309[[BR]]
RegularPolygon handler does not apply custom style. It always applies default style.
The RegularPolygon constructor class assigns default style and does not care about custom style defined in the options parameter.[[BR]]
[[BR]]

{{{
initialize : function(control, callbacks, options){ 
    this.style = OpenLayers.Util.extend(OpenLayers.Feature.Vector.style['default'], {});
}}}
[[BR]]
[[BR]]
It can be solved by replacing with this (I also attach a patch for it):[[BR]]

{{{
initialize : function(control, callbacks, options){
   if(!(options && options.layerOptions && options.layerOptions.styleMap)) {
this.style = OpenLayers.Util.extend(OpenLayers.Feature.Vector.style['default'], {}); }
}}}
"	bug	new	minor	2.13 Release	Handler.RegularPolygon	SVN		RegularPolygon handler : style	palvarez@…	Needs More Work
