I have added a measurement widget on my webapp. the functionality works flawless, but for some reason when you click on Area Tool and select 1st point, the blue line joining the point and cursor does not appear. But when you click the second point, the blue line is present between 1st and 2nd point, but again the new blue line connecting 2nd point and the cursor is missing. So on and so forth. And eventually when you double-click to complete the polygon, the there is not line between the last and first point.
[ATTACH=CONFIG]13630[/ATTACH]