OpenLayers Graphic Names

# Named Graphics Example

vector, named graphic, star, cross, x, square, triangle, circle, style, light

Shows how to use well-known graphic names.

OpenLayers supports well-known names for a few graphics. You can use the names "star", "cross", "x", "square", "triangle", and "circle" as value for the graphicName property of a symbolizer.

The named symbols "lightning", "rectangle" and "church" are user defined.

See graphic-name.js for the source code of this example.