Alternatively you can visit this link with the latest build deployed on vercel.
2. There should be 2 buttons, one button to complete a polygon, another to reset the canvas content.
- A vertex will be added in that location.
- If there are any existing vertices, the new vertex should connect to the last added existing vertex with a polyline.
- When the user clicks the complete button, the last added vertex should connect to the first vertex and to form a polygon.
