} else if (geometry instanceof MultiLineString) {
MultiLineString m = (MultiLineString) geometry;
String gfxId = gfxGeometry.getId();
GraphicsContext gc = context.getVectorContext();
for (int i = 0; i < m.getNumGeometries(); i++) {
gc.drawLine(group, gfxId + "." + i, (LineString) m.getGeometryN(i), shapeStyle);
}
} else if (geometry instanceof Polygon) {
context.getVectorContext().drawPolygon(group, gfxGeometry.getId(), (Polygon) geometry, shapeStyle);
} else if (geometry instanceof MultiPolygon) {
MultiPolygon m = (MultiPolygon) geometry;