Bart van den Eijnden wrote:
> 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.
>
Here are the related changes to allow this in the other sketch handlers:
http://trac.openlayers.org/changeset/7964#file1
http://trac.openlayers.org/changeset/8831#file1
You could create a similar patch for the regular polygon handler.
Tim
> Best regards,
> Bart
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
--
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev