I have basic WMS layer and vector layer in OpenLayers. Using EditingToolbar I can draw some features as shown below
Then I want to get some information (like distance and extent) of drawn features in any format. At the movement I stuck on above point. Can you give me some tips or sample code or some links?