points[i] = p;
}
final TagPolygon p = new TagPolygon(points);
p.setZoneDetailsId(currentPolygon.getZoneDetailsId());
//Window.alert("Fire BindPolygonToZoneEvent with p=" + p);
eventBus.fireEvent(new BindPolygonToZoneEvent(p));
}
});
/**
* Click to edit the shape (and make sure the details are loaded in the edit view)