Issue: GPolygon.enableDrawing() appears to be adding an extra point when trying to create a polygon
Steps
- Click the "start draw" button - this will add a polygon to the map and enable drawing
- Click anywhere to draw the first point
- Click anywhere (not the first point) again to draw a second point
- Click on the first point to complete the "polygon"
While drawing the points there is an output that counts the number of vertices of the polygon. You will notice that
once you click on the first point again the vertices jump from 2 to 4. Once the polygon is complete I also output each vertex, you will notice that there are 4 vertices and the third and fourth are the same.