I have to draw complex shapes for representation on OpenLayers map.
On surfing the internet, I found many links that define a points collection for drawing various shapes like an Arrow, a lightning etc...
but none explain how to draw these shapes
example,
OpenLayers.Renderer.symbol.church = [4, 0, 6, 0, 6, 4, 10, 4, 10, 6, 6, 6, 6, 14, 4, 14, 4, 6, 0, 6, 0, 4, 4, 4, 4, 0];
Symbolises a church symbol...
OpenLayers.Renderer.symbol.lightning = [0, 0, 4, 2, 6, 0, 10, 5, 6, 3, 4, 5, 0, 0];
Symbolises a lightning symbol...
But what does these points mean? If I have to draw a callout like shape, then how should I draw it?