Make polygon example into a view