[OpenLayers-Dev] styling RegularPolygon handler?

Bart van den Eijnden bartvde at osgis.nl
Mon Feb 8 08:20:09 EST 2010


Hi list,

is there currently a way to not have the RegularPolygon handler draw things in the default style, but in another style?

The constructor currently reads:

this.style = OpenLayers.Util.extend(OpenLayers.Feature.Vector.style['default'], {});

which gives me no option to change the style.

Best regards,
Bart


More information about the Dev mailing list