public void onGetZones(GetZonesEvent event) {
polygons = new ArrayList<TagPolygon>();
}
});
eventBus.addHandler(DisableZoneEditingEvent.TYPE,
new DisableZoneEditingEventHandler() {
public void onDisableZoneEditing(DisableZoneEditingEvent event) {
setEditingZonesEnabled("");
}
});
eventBus.addHandler(RenderZonesEvent.TYPE,