Still learning OpenLayers and I think my problem may be a lack of understanding the terminology, however.
Is it possible to draw polygons in a different colour within one vector layer, or do all polygons get their colour from the colour set within the layer?
I ask because I have a map which draws the borders of several (up to 10) different countries around the world and I'd rather have one layer with different coloured polygons rather than have several different layers.
I have the following code:
var polyCountry = format.read("POLYGON((" + polyString + "))");
Zip15021.addFeatures([polyCountry])
Which works perfectly, but can't see any documentation anywhere on how to style the polygon.