code: public void onGeometryEditStop(GeometryEditStopEvent event) {
  		// Remove the vector container from the map:
  		mapPresenter.getContainerManager().removeVectorContainer(container);
  		container = null;
  		shapes.clear();
  	}
docs: Clean up all rendering.