Example of using the ol.interaction.Draw interaction for creating simple measuring application.
NOTE: Measure is done in simple way on projected plane. Earth curvature is not taken into account
See the measure.js source to see how this is done.