I'm looking for a solution where I could easily add differently styled polygons to a map?
Styles should be as "options" so that user can select e.g. blue or yellow polygon.
What different options there is to implement something like this? Is it to have two polygon buttons in toolbar? Or possibly some kind of attribute/style editing after polygons have been created?
The first one would be the most intuitive for end user and perhaps also easier for developer?
And what are the correct names for these ? From docs I can see that "controls" include "panel" which include "EditingToolbar controls" (http://dev.openlayers.org/docs/files/OpenLayers/Control/EditingToolbar-js.html).
How can I add another polygon button to toolbar that would use different custom styleset (or is stylemap in openlayers)?