I suspect several things going wrong here:
- After completion of the drawing of the polygon on the map, the polygon does not disappear (i don’t have any
MapPolygonobject in my map view). This used to not be the base and I am not so sure if this is a desired behaviour.
- When deleting the first polygon, it remains on the map and redrawing a new polygon results in two polygons on the MapView. Moreover, when drawing a second polygon, the parametrization seems to keep in memory all the points of the previous polygon, some of these points are greyed out.
TO be checked if the same bug happens with
The first polygon should at least be deleted from the map when clicking on delete, and its points must be reset.
Moreover, if there is no MapPolygon object, I would not expect to keep seeing the polygon after I drew it.