}
if (geom instanceof MultiPolygon || geom instanceof MultiLineString || geom instanceof MultiPoint) {
GraphicsContext gc = context.getVectorContext();
String gfxId = gfxGeometry.getId();
for (int i = 0; i < geom.getNumGeometries(); i++) {
gc.deleteElement(group, gfxId + "." + i);
}
} else {
context.getVectorContext().deleteElement(group, gfxGeometry.getId());
}
}