final Geometry g = this.getGeometry();
if (g.getClassName().equals(
org.gwtopenmaps.openlayers.client.geometry.Geometry.POLYGON_CLASS_NAME)) {
final Polygon p = Polygon.narrowToPolygon(g.getJSObject());
final MultiPolygon mp = new MultiPolygon(new Polygon[]{p});
this.getJSObject().setProperty("geometry", mp.getJSObject());
return true;
} else {
return false;
}