add view and convert multilines to closed polygon