1. An electronic apparatus comprising: a photographing unit; a control unit configured to: show a preview live-view image together with a preview panorama image and current moving direction information of the electronic apparatus, the preview panorama image being generated based on image data from the photographing unit in a panorama mode; update the preview panorama image and the moving direction information in real time; and discontinue generating a panorama image in real time if a current moving direction of the electronic apparatus differs from a reference direction by a predetermined amount.