def _clearDrawings(self):
        if self.polygonOnMap:
            self.mapWidgetHandle.removeFromMap(self.polygonOnMap)
            self.polygonOnMap = None
Clear anything this window has drawn on the map
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/util/production_gui.py/FeatureTrainerWindow._clearDrawings