title: how to get coordinates of a polygon in OpenLayers
body: <p>I have been looking for how to determine coordinates of the points which consist a polygon(feature) in OpenLayers.</p>
  
  <p>Let's say I have created a polygon like the one in <a href="http://openlayers.org/dev/examples/draw-feature.html" rel="noreferrer">this</a> example. I need to know the points which consist the polygon, so I can save them somewhere.</p>
  
  <p>I bet it is an easy one. I just couldn't find anything, probably I don't know what I should search for.</p>
  
  <p>Thanks in advance.</p>