code: public void deleteShape(Paintable paintable, Object group, MapContext context) {
  		Rectangle rectangle = (Rectangle) paintable;
  		context.getVectorContext().deleteElement(group, rectangle.getId());
  	}
docs: Delete a {@link Paintable} object from the given {@link MapContext}. It the object does not exist,
  nothing will be done.
  
  @param paintable
  The object to be painted.
  @param group
  The group where the object resides in (optional).
  @param graphics
  The context to paint on.