You are viewing outdated docs OpenLayers 2.x is not under active development any more. Go to http://openlayers.org/en/latest/doc/ to view the latest OpenLayers 3.x docs. Styling¶ This OpenLayers 2 Styles framework is the way to control the styling of features attached to vector layers in OpenLayers 2, such as points, lines, and polygons. It provides capabilities which correspond to the features pr